]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
Compatibility with gcc 2.95.x: add spaces around __VA__ARGS__
authorVincent Bernat <bernat@luffy.cx>
Thu, 9 Jul 2009 19:30:14 +0000 (21:30 +0200)
committerVincent Bernat <bernat@luffy.cx>
Tue, 29 Sep 2009 14:44:58 +0000 (16:44 +0200)
src/lldpd.h

index d3cc84fe5648c7f2a865f3b9a064290afd66ed3c..e1c76679812f26aad3c1e77786c31f3f0a9d9226 100644 (file)
@@ -416,13 +416,13 @@ char      *dmi_asset();
 /* log.c */
 void             log_init(int);
 void             log_warn(const char *, ...);
-#define LLOG_WARN(x,...) log_warn("%s: " x, __FUNCTION__, ##__VA_ARGS__)
+#define LLOG_WARN(x,...) log_warn("%s: " x, __FUNCTION__ , ## __VA_ARGS__)
 void             log_warnx(const char *, ...);
-#define LLOG_WARNX(x,...) log_warnx("%s: " x,  __FUNCTION__, ##__VA_ARGS__)
+#define LLOG_WARNX(x,...) log_warnx("%s: " x,  __FUNCTION__ , ## __VA_ARGS__)
 void             log_info(const char *, ...);
-#define LLOG_INFO(x,...) log_info("%s: " x, __FUNCTION__, ##__VA_ARGS__)
+#define LLOG_INFO(x,...) log_info("%s: " x, __FUNCTION__ , ## __VA_ARGS__)
 void             log_debug(const char *, ...);
-#define LLOG_DEBUG(x,...) log_debug("%s: " x, __FUNCTION__, ##__VA_ARGS__)
+#define LLOG_DEBUG(x,...) log_debug("%s: " x, __FUNCTION__ , ## __VA_ARGS__)
 void             fatal(const char *);
 void             fatalx(const char *);