From 6a269632b3a000cd677ccec4c4a006dca36291b2 Mon Sep 17 00:00:00 2001 From: Dennis Schafroth Date: Fri, 20 Apr 2012 10:43:20 +0200 Subject: [PATCH] Fix static on some functions --- src/settings.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/settings.c b/src/settings.c index 5921e0a..e7d5b3d 100644 --- a/src/settings.c +++ b/src/settings.c @@ -140,12 +140,12 @@ int settings_create_offset(struct conf_service *service, const char *name) return settings_index_lookup(service->dictionary, name, service->nmem); } -static int settings_lookup_offset(struct conf_service *service, const char *name) +int settings_lookup_offset(struct conf_service *service, const char *name) { return settings_index_lookup(service->dictionary, name, 0); } -static char *settings_name(struct conf_service *service, int offset) +char *settings_name(struct conf_service *service, int offset) { assert(offset < service->dictionary->num); return service->dictionary->dict[offset]; @@ -368,7 +368,7 @@ void expand_settings_array2(struct settings *settings, int offset, NMEM nmem) } } -void update_settings(struct setting *set, struct settings *settings, int offset, NMEM nmem) +static void update_settings(struct setting *set, struct settings *settings, int offset, NMEM nmem) { struct setting **sp; yaz_log(YLOG_LOG, "update service settings offset %d with %s=%s", offset, set->name, set->value); -- 1.7.10.4