Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/libpcap/dist propagate deadness.



details:   https://anonhg.NetBSD.org/src/rev/696a79dc7f2e
branches:  trunk
changeset: 350935:696a79dc7f2e
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Jan 27 15:52:21 2017 +0000

description:
propagate deadness.

diffstat:

 external/bsd/libpcap/dist/gencode.h |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 45789b69d479 -r 696a79dc7f2e external/bsd/libpcap/dist/gencode.h
--- a/external/bsd/libpcap/dist/gencode.h       Fri Jan 27 15:20:31 2017 +0000
+++ b/external/bsd/libpcap/dist/gencode.h       Fri Jan 27 15:52:21 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: gencode.h,v 1.4 2017/01/24 22:29:28 christos Exp $     */
+/*     $NetBSD: gencode.h,v 1.5 2017/01/27 15:52:21 christos Exp $     */
 
 /*
  * Copyright (c) 1990, 1991, 1992, 1993, 1994, 1995, 1996
@@ -368,7 +368,8 @@
 };
 
 void bpf_optimize(compiler_state_t *, struct icode *ic);
-void bpf_syntax_error(compiler_state_t *, const char *);
+void bpf_syntax_error(compiler_state_t *, const char *)
+    __attribute__((noreturn));
 void bpf_error(compiler_state_t *, const char *, ...)
     __attribute__((noreturn))
 #ifdef __ATTRIBUTE___FORMAT_OK



Home | Main Index | Thread Index | Old Index