]> The Tcpdump Group git mirrors - tcpdump/blobdiff - netdissect.c
Revert "autotools: don't link with -lcrypto twice."
[tcpdump] / netdissect.c
index e78ccbc72b529328c0252886d66e94990b9cf61b..548989b76545f74960d908199cb8be1763e4cfa5 100644 (file)
 #include <smi.h>
 #endif
 
+#ifdef _AIX
+#include "diag-control.h"
+#endif /* _AIX */
+
 /*
  * Initialize anything that must be initialized before dissecting
  * packets.
@@ -79,7 +83,7 @@ nd_init(char *errbuf, size_t errbuf_size)
 }
 
 /*
- * Clean up anything that ndo_init() did.
+ * Clean up anything that nd_init() did.
  */
 void
 nd_cleanup(void)
@@ -308,6 +312,6 @@ nd_trunc_longjmp(netdissect_options *ndo)
         * XL C that the function is noreturn, but GCC remains unaware of that and
         * yields a "'noreturn' function does return" warning.
         */
-       ND_UNREACHABLE
+       ND_NOT_REACHABLE
 #endif /* _AIX */
 }