summaryrefslogtreecommitdiffstats
path: root/machdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'machdep.c')
-rw-r--r--machdep.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/machdep.c b/machdep.c
index 2bcf317..3b8c966 100644
--- a/machdep.c
+++ b/machdep.c
@@ -19,11 +19,6 @@
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/
-#ifndef lint
-static const char rcsid[] _U_ =
- "@(#) $Header: /tcpdump/master/tcpdump/machdep.c,v 1.13 2003-12-15 03:53:21 guy Exp $ (LBL)";
-#endif
-
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
@@ -46,7 +41,10 @@ static const char rcsid[] _U_ =
#if !defined(HAVE_SNPRINTF)
int snprintf(char *, size_t, const char *, ...)
- __attribute__((format(printf, 3, 4)));
+#ifdef __ATTRIBUTE___FORMAT_OK
+ __attribute__((format(printf, 3, 4)))
+#endif /* __ATTRIBUTE___FORMAT_OK */
+ ;
#endif /* !defined(HAVE_SNPRINTF) */
#endif /* __osf__ */
OpenPOWER on IntegriCloud