Remove duplicate fr_strerror_printf declaration
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Sun, 16 Mar 2014 18:12:13 +0000 (18:12 +0000)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Sun, 16 Mar 2014 18:24:25 +0000 (18:24 +0000)
src/main/conffile.c
src/modules/proto_dhcp/dhcp.c
src/modules/proto_vmps/vqp.c

index 2650d47..6bb1d89 100644 (file)
@@ -2236,11 +2236,6 @@ FR_TOKEN cf_pair_value_type(CONF_PAIR const *pair)
 }
 
 /*
- *     Copied here for error reporting.
- */
-extern void fr_strerror_printf(char const *, ...);
-
-/*
  * Turn a CONF_PAIR into a VALUE_PAIR
  * For now, ignore the "value_type" field...
  */
index c5669fc..cbdf483 100644 (file)
@@ -54,7 +54,6 @@ RCSID("$Id$")
 
 /* @todo: this is a hack */
 #  define DEBUG                        if (fr_debug_flag && fr_log_fp) fr_printf_log
-void fr_strerror_printf(char const *fmt, ...);
 #  define debug_pair(vp)       do { if (fr_debug_flag && fr_log_fp) { \
                                        vp_print(fr_log_fp, vp); \
                                     } \
index 4a19af7..e932880 100644 (file)
@@ -31,7 +31,6 @@ RCSID("$Id$");
 
 /* @todo: this is a hack */
 #  define DEBUG                        if (fr_debug_flag && fr_log_fp) fr_printf_log
-void fr_strerror_printf(char const *fmt, ...);
 #  define debug_pair(vp)       do { if (fr_debug_flag && fr_log_fp) { \
                                        vp_print(fr_log_fp, vp); \
                                     } \