]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Include funcattrs.h before you use stuff in it.
authorGuy Harris <[email protected]>
Mon, 29 Jan 2018 05:09:03 +0000 (21:09 -0800)
committerGuy Harris <[email protected]>
Mon, 29 Jan 2018 05:09:03 +0000 (21:09 -0800)
netdissect-stdinc.h

index 1324ae18f2d005eabc5a90837578c8403902bb9d..fa7a790c890748961347e6fa34ac4e45a589e3a7 100644 (file)
@@ -300,6 +300,11 @@ typedef char* caddr_t;
   #endif
 #endif
 
+/*
+ * Function attributes, for various compilers.
+ */
+#include "funcattrs.h"
+
 /*
  * On Windows, snprintf(), with that name and with C99 behavior - i.e.,
  * guaranteeing that the formatted string is null-terminated - didn't
@@ -485,11 +490,6 @@ struct in6_addr {
  * end of Apple deprecation workaround macros
  */
 
-/*
- * Function attributes, for various compilers.
- */
-#include "funcattrs.h"
-
 /*
  * Statement attributes, for various compilers.
  *