diff options
author | 2005-12-10 14:41:07 +0000 | |
---|---|---|
committer | 2005-12-10 14:41:07 +0000 | |
commit | 99552086c335f28fcc6821f8c9fe5917a0661e0b (patch) | |
tree | eed1460c2b602e67b1f4fb7e8d0d7e6f8bf7462b | |
parent | Just poll for PMU_INT_ADB_AUTO and PMU_INT_ADB interrupts when resetting (diff) | |
download | wireguard-openbsd-99552086c335f28fcc6821f8c9fe5917a0661e0b.tar.xz wireguard-openbsd-99552086c335f28fcc6821f8c9fe5917a0661e0b.zip |
C99 section 6.8.6.4 says "A return statement with an expression shall
not appear in a function whose return type is void." Lint agrees.
ok (and C99 spec info) cloder@
-rw-r--r-- | sys/net/pf_ioctl.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/net/pf_ioctl.c b/sys/net/pf_ioctl.c index e322755e4d7..ff21f02c517 100644 --- a/sys/net/pf_ioctl.c +++ b/sys/net/pf_ioctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pf_ioctl.c,v 1.160 2005/10/27 12:34:40 mcbride Exp $ */ +/* $OpenBSD: pf_ioctl.c,v 1.161 2005/12/10 14:41:07 krw Exp $ */ /* * Copyright (c) 2001 Daniel Hartmeier @@ -730,7 +730,7 @@ pf_tagname2tag(char *tagname) void pf_tag2tagname(u_int16_t tagid, char *p) { - return (tag2tagname(&pf_tags, tagid, p)); + tag2tagname(&pf_tags, tagid, p); } void @@ -748,7 +748,7 @@ pf_tag_ref(u_int16_t tag) void pf_tag_unref(u_int16_t tag) { - return (tag_unref(&pf_tags, tag)); + tag_unref(&pf_tags, tag); } int @@ -792,13 +792,13 @@ pf_qname2qid(char *qname) void pf_qid2qname(u_int32_t qid, char *p) { - return (tag2tagname(&pf_qids, (u_int16_t)qid, p)); + tag2tagname(&pf_qids, (u_int16_t)qid, p); } void pf_qid_unref(u_int32_t qid) { - return (tag_unref(&pf_qids, (u_int16_t)qid)); + tag_unref(&pf_qids, (u_int16_t)qid); } int |