summaryrefslogtreecommitdiffstats
path: root/sys/contrib/altq
diff options
context:
space:
mode:
authorrdivacky <rdivacky@FreeBSD.org>2009-02-24 18:09:31 +0000
committerrdivacky <rdivacky@FreeBSD.org>2009-02-24 18:09:31 +0000
commite5bfcba0804aec97eaffc409174ebf4d4fe91cca (patch)
tree5b25b63fa72c76fa803c05da612b120833bed4dd /sys/contrib/altq
parentedb8ebb3d4aa8e53f32e1e24b0fb93b1120361f0 (diff)
downloadFreeBSD-src-e5bfcba0804aec97eaffc409174ebf4d4fe91cca.zip
FreeBSD-src-e5bfcba0804aec97eaffc409174ebf4d4fe91cca.tar.gz
Change the functions to ANSI in those cases where it breaks promotion
to int rule. See ISO C Standard: SS6.7.5.3:15. Approved by: kib (mentor) Reviewed by: warner Tested by: silence on -current
Diffstat (limited to 'sys/contrib/altq')
-rw-r--r--sys/contrib/altq/altq/altq_subr.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/contrib/altq/altq/altq_subr.c b/sys/contrib/altq/altq/altq_subr.c
index 95ea81b..4dfa517 100644
--- a/sys/contrib/altq/altq/altq_subr.c
+++ b/sys/contrib/altq/altq/altq_subr.c
@@ -812,10 +812,7 @@ read_dsfield(m, pktattr)
}
void
-write_dsfield(m, pktattr, dsfield)
- struct mbuf *m;
- struct altq_pktattr *pktattr;
- u_int8_t dsfield;
+write_dsfield(struct mbuf *m, struct altq_pktattr *pktattr, u_int8_t dsfield)
{
struct mbuf *m0;
OpenPOWER on IntegriCloud