summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2005-12-10 14:41:08 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2005-12-10 14:41:08 +0000
commitefe642a8c606e1fb14f6f74d34b44d175486110a (patch)
tree3423317cc34419b3e1f16b2b8d00c0e8a45246c4 /sys
parent788187ac113fd8f802d3792b6e7fa43720059207 (diff)
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@
Diffstat (limited to 'sys')
-rw-r--r--sys/net/pf_ioctl.c10
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