Skip to content
Snippets Groups Projects
Commit 91867931 authored by Eric Vidal's avatar Eric Vidal :speech_balloon:
Browse files

Remove parse_get_section_id function

parent e5a04d26
No related branches found
No related tags found
No related merge requests found
......@@ -7,7 +7,6 @@ parse_contents.o
parse_db_migrate.o
parse_error.o
parse_frontend.o
parse_get_section_id.o
parse_get_section.o
parse_get_value_of_key.o
parse_interdependences.o
......
/*
* parse_get_section_id.c
*
* Copyright (c) 2024 Eric Vidal <eric@obarun.org>
*
* All rights reserved.
*
* This file is part of Obarun. It is subject to the license terms in
* the LICENSE file found in the top-level directory of this
* distribution.
* This file may not be copied, modified, propagated, or distributed
* except according to the terms contained in the LICENSE file./
*/
#include <oblibs/log.h>
#include <66/enum.h>
int parse_get_section_id(char const *name)
{
log_flow() ;
int sid = -1 ;
sid = get_enum_by_key(name) ;
if (sid < 0)
log_warn("get section id") ;
return sid ;
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment