diff options
author | 2017-04-27 15:46:14 +0000 | |
---|---|---|
committer | 2017-04-27 15:46:14 +0000 | |
commit | e389019dfdd148e696bc22fa5cddaeb3c3c2eef6 (patch) | |
tree | 9011b4510ec11f60732978ca558d063c7ce4816c | |
parent | Remove useless check for ks_env_table being NULL. Since ks_env_table (diff) | |
download | wireguard-openbsd-e389019dfdd148e696bc22fa5cddaeb3c3c2eef6.tar.xz wireguard-openbsd-e389019dfdd148e696bc22fa5cddaeb3c3c2eef6.zip |
Remove the "volatile" attribute from bpf_error(). The "volatile"
attribute is an obsolete way of saying "noreturn". clang doesn't
recognize it and the function is already marked __dead so it is
superfluous anyway.
-rw-r--r-- | lib/libpcap/gencode.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libpcap/gencode.h b/lib/libpcap/gencode.h index 1fac5a88ae7..cb4d34c99a9 100644 --- a/lib/libpcap/gencode.h +++ b/lib/libpcap/gencode.h @@ -1,4 +1,4 @@ -/* $OpenBSD: gencode.h,v 1.16 2014/04/11 04:08:58 lteo Exp $ */ +/* $OpenBSD: gencode.h,v 1.17 2017/04/27 15:46:14 millert Exp $ */ /* * Copyright (c) 1990, 1991, 1992, 1993, 1994, 1995, 1996 @@ -193,7 +193,7 @@ struct block *gen_p80211_fcdir(int); void bpf_optimize(struct block **); __dead void bpf_error(const char *, ...) - __attribute__((volatile, __format__ (printf, 1, 2))); + __attribute__((__format__ (printf, 1, 2))); void finish_parse(struct block *); char *sdup(const char *); |