]> The Tcpdump Group git mirrors - libpcap/blobdiff - gencode.c
Declare "bpf_error()" as "__attribute__((noreturn))" to squelch some
[libpcap] / gencode.c
index aeed679ae58003f2d9da7f583a3eacda7452750c..d4946edfac27743b09a6687f87a32c92e3b73e10 100644 (file)
--- a/gencode.c
+++ b/gencode.c
@@ -21,7 +21,7 @@
  */
 #ifndef lint
 static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/libpcap/gencode.c,v 1.221.2.3 2005-04-15 04:45:38 guy Exp $ (LBL)";
+    "@(#) $Header: /tcpdump/master/libpcap/gencode.c,v 1.221.2.4 2005-04-18 22:40:14 guy Exp $ (LBL)";
 #endif
 
 #ifdef HAVE_CONFIG_H
@@ -108,10 +108,11 @@ static u_int      orig_linktype = -1U, orig_nl = -1U, orig_nl_nosnap = -1U;
 static int     pcap_fddipad;
 #endif
 
+void   bpf_error(const char *fmt, ...) __attribute__((noreturn));
+
 /* VARARGS */
 void
 bpf_error(const char *fmt, ...)
-
 {
        va_list ap;