From e5bfcba0804aec97eaffc409174ebf4d4fe91cca Mon Sep 17 00:00:00 2001 From: rdivacky Date: Tue, 24 Feb 2009 18:09:31 +0000 Subject: 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 --- sys/netinet/sctp_input.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'sys/netinet/sctp_input.c') diff --git a/sys/netinet/sctp_input.c b/sys/netinet/sctp_input.c index c187aac..a9f3dfc 100644 --- a/sys/netinet/sctp_input.c +++ b/sys/netinet/sctp_input.c @@ -5628,10 +5628,7 @@ sctp_print_mbuf_chain(struct mbuf *m) #endif void -sctp_input_with_port(i_pak, off, port) - struct mbuf *i_pak; - int off; - uint16_t port; +sctp_input_with_port(struct mbuf *i_pak, int off, uint16_t port) { #ifdef SCTP_MBUF_LOGGING struct mbuf *mat; -- cgit v1.1