From 1da7ac07d6da0d0c7a4a3a9b51fe1b1a2027c1f6 Mon Sep 17 00:00:00 2001 From: Marco van Wieringen Date: Tue, 30 Sep 2014 16:01:33 +0200 Subject: [PATCH] Fix compiler warning. --- src/lib/parse_conf.h | 1 - src/lib/res.c | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/parse_conf.h b/src/lib/parse_conf.h index ba30d27e76f..8cb5105081f 100644 --- a/src/lib/parse_conf.h +++ b/src/lib/parse_conf.h @@ -348,7 +348,6 @@ void init_resource(int type, RES_ITEM *item); void save_resource(int type, RES_ITEM *item, int pass); bool store_resource(int type, LEX *lc, RES_ITEM *item, int index, int pass); const char *res_to_str(int rcode); -static const char *datatype_to_str(int type); bool print_config_schema_json(POOL_MEM &buff); bool print_res_item_schema_json(POOL_MEM &buff, int level, RES_ITEM *item ); diff --git a/src/lib/res.c b/src/lib/res.c index a9da6ebe99e..7ce81041dc4 100644 --- a/src/lib/res.c +++ b/src/lib/res.c @@ -31,6 +31,7 @@ /* Forward referenced subroutines */ static void scan_types(LEX *lc, MSGSRES *msg, int dest, char *where, char *cmd); +static const char *datatype_to_str(int type); extern CONFIG *my_config; /* Our Global config */