blob: 2cedcf838bac2870cf46432e140b136dfaa1a95d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
--- hdr/generator.h.orig 2004-02-14 00:23:16.000000000 +0100
+++ hdr/generator.h 2004-02-14 00:23:46.000000000 +0100
@@ -185,11 +185,11 @@
# define LOG_DEBUG3(x) /* ui_log_debug3 ## x */
# define LOG_DEBUG2(x) /* ui_log_debug2 ## x */
# define LOG_DEBUG1(x) /* ui_log_debug1 ## x */
-# define LOG_USER(x) ui_log_user ## x
-# define LOG_VERBOSE(x) ui_log_verbose ## x
-# define LOG_NORMAL(x) ui_log_normal ## x
-# define LOG_CRITICAL(x) ui_log_critical ## x
-# define LOG_REQUEST(x) ui_log_request ## x
+# define LOG_USER(x) ui_log_user x
+# define LOG_VERBOSE(x) ui_log_verbose x
+# define LOG_NORMAL(x) ui_log_normal x
+# define LOG_CRITICAL(x) ui_log_critical x
+# define LOG_REQUEST(x) ui_log_request x
#endif
typedef struct {
$NetBSD: patch-af,v 1.1 2004/02/13 23:41:28 kristerw Exp $
--- main/ui-gtk.c.orig 2004-02-14 00:30:00.000000000 +0100
+++ main/ui-gtk.c 2004-02-14 00:30:20.000000000 +0100
@@ -626,7 +626,7 @@
/* logging is done this way because this was the best I could come up with
whilst battling with macros that can only take fixed numbers of arguments */
-#define LOG_FUNC(name,level,txt) void ui_log_ ## name ## (const char *text, ...) \
+#define LOG_FUNC(name,level,txt) void ui_log_ ## name (const char *text, ...) \
{ \
va_list ap; \
if (gen_loglevel >= level) { \
|