*
* $Id$
*
- * Ethereal - Network traffic analyzer
- * By Gerald Combs <gerald@ethereal.com>
+ * Wireshark - Network traffic analyzer
+ * By Gerald Combs <gerald@wireshark.org>
* Copyright 1998 Gerald Combs
*
* This program is free software; you can redistribute it and/or
/*
* Report an error in command-line arguments.
*/
+#if __GNUC__ >= 2
+extern void cmdarg_err(const char *fmt, ...)
+ __attribute__((format (printf, 1, 2)));
+#else
extern void cmdarg_err(const char *fmt, ...);
+#endif
/*
* Report additional information for an error in command-line arguments.
*/
+#if __GNUC__ >= 2
+extern void cmdarg_err_cont(const char *fmt, ...)
+ __attribute__((format (printf, 1, 2)));
+#else
extern void cmdarg_err_cont(const char *fmt, ...);
+#endif
#ifdef __cplusplus
}