summaryrefslogtreecommitdiff
path: root/net/rwhoisd/files/patch-common-log.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/rwhoisd/files/patch-common-log.h')
-rw-r--r--net/rwhoisd/files/patch-common-log.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/net/rwhoisd/files/patch-common-log.h b/net/rwhoisd/files/patch-common-log.h
new file mode 100644
index 000000000000..1c105a1f8612
--- /dev/null
+++ b/net/rwhoisd/files/patch-common-log.h
@@ -0,0 +1,23 @@
+--- common/log.h.orig Tue Oct 28 02:25:55 2003
++++ common/log.h Tue Oct 28 02:29:55 2003
+@@ -95,8 +95,8 @@
+ /* old prototypes for backward compatibility */
+
+ #define l_strerror strerror
+-void log_error PROTO(());
+-void log_warning PROTO(());
++void log_error PROTO((char *format, ...));
++void log_warning PROTO((char *format, ...));
+ char *get_client_hostname PROTO((int sock));
+ char *timestamp PROTO(());
+
+@@ -106,7 +106,8 @@
+ (L_LOG_EMERG, L_LOG_ALERT, etc. [see internal_log_level in
+ types.h) and SECTION is one of (NETWORK, QUERY, CONFIG, etc [see
+ log_section in types.h) */
+-void log PROTO(());
++#define log Log
++void log PROTO((internal_log_levels level, int section, char *format, ...));
+
+ void setup_logging PROTO((void));
+