Skip to content

Commit

Permalink
Remove duplicate fr_strerror_printf declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
arr2036 committed Mar 16, 2014
1 parent e3c1055 commit fac297c
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 7 deletions.
5 changes: 0 additions & 5 deletions src/main/conffile.c
Expand Up @@ -2235,11 +2235,6 @@ FR_TOKEN cf_pair_value_type(CONF_PAIR const *pair)
return (pair ? pair->value_type : T_OP_INVALID);
}

/*
* 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...
Expand Down
1 change: 0 additions & 1 deletion src/modules/proto_dhcp/dhcp.c
Expand Up @@ -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); \
} \
Expand Down
1 change: 0 additions & 1 deletion src/modules/proto_vmps/vqp.c
Expand Up @@ -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); \
} \
Expand Down

0 comments on commit fac297c

Please sign in to comment.