summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 87aa416)
raw | patch | inline | side by side (parent: 87aa416)
author | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Sat, 13 Aug 2016 16:51:55 +0000 (18:51 +0200) | ||
committer | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Sat, 13 Aug 2016 16:51:55 +0000 (18:51 +0200) |
configure.ac | patch | blob | history | |
src/liboconfig/oconfig.c | patch | blob | history | |
src/liboconfig/oconfig.h | patch | blob | history |
diff --git a/configure.ac b/configure.ac
index 251f785fa693f28bf7808a3237b4c3b4d7d1f3fd..c72abd3228478445dd7eb48077555416b0438b4a 100644 (file)
--- a/configure.ac
+++ b/configure.ac
save_CPPFLAGS="$CPPFLAGS"
LDFLAGS="$liboconfig_LDFLAGS"
CPPFLAGS="$liboconfig_CPPFLAGS"
-AC_CHECK_LIB(oconfig, oconfig_parse_fh,
+AC_CHECK_LIB(oconfig, oconfig_parse_file,
[
with_liboconfig="yes"
with_own_liboconfig="no"
index 319aae850898f259fd236b36327304029ffe089a..d6f07446f9c604848787c184d28366db473a4cda 100644 (file)
--- a/src/liboconfig/oconfig.c
+++ b/src/liboconfig/oconfig.c
yyin = fd;
} /* void yyset_in */
-oconfig_item_t *oconfig_parse_fh (FILE *fh)
+static oconfig_item_t *oconfig_parse_fh (FILE *fh)
{
int status;
oconfig_item_t *ret;
index 840137cc25a7f4a59f5bceee43856d257e7c7795..24045de0d4de9330051a270898fe2d4e1fc6bc55 100644 (file)
--- a/src/liboconfig/oconfig.h
+++ b/src/liboconfig/oconfig.h
/*
* Functions
*/
-oconfig_item_t *oconfig_parse_fh (FILE *fh);
oconfig_item_t *oconfig_parse_file (const char *file);
oconfig_item_t *oconfig_clone (const oconfig_item_t *ci);