From a544ef87d9c354d1c75149ddd05804e9172806b3 Mon Sep 17 00:00:00 2001 From: Ruben Kerkhof Date: Sat, 13 Aug 2016 18:51:55 +0200 Subject: [PATCH] liboconfig: make function static --- configure.ac | 2 +- src/liboconfig/oconfig.c | 2 +- src/liboconfig/oconfig.h | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 251f785f..c72abd32 100644 --- a/configure.ac +++ b/configure.ac @@ -3409,7 +3409,7 @@ save_LDFLAGS="$LDFLAGS" 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" diff --git a/src/liboconfig/oconfig.c b/src/liboconfig/oconfig.c index 319aae85..d6f07446 100644 --- a/src/liboconfig/oconfig.c +++ b/src/liboconfig/oconfig.c @@ -43,7 +43,7 @@ static void yyset_in (FILE *fd) 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; diff --git a/src/liboconfig/oconfig.h b/src/liboconfig/oconfig.h index 840137cc..24045de0 100644 --- a/src/liboconfig/oconfig.h +++ b/src/liboconfig/oconfig.h @@ -64,7 +64,6 @@ struct oconfig_item_s /* * 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); -- 2.11.0