summaryrefslogtreecommitdiffstats
path: root/sys/kern/uipc_mbuf2.c
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2010-06-21 09:55:56 +0000
committered <ed@FreeBSD.org>2010-06-21 09:55:56 +0000
commit76489ac1ea604f511232838164573ea21e9a74a8 (patch)
tree916572d41a618634b84823c3b89048c2144938df /sys/kern/uipc_mbuf2.c
parent107ec73aada25d2e0a7051e1f2a8cbef92902d04 (diff)
downloadFreeBSD-src-76489ac1ea604f511232838164573ea21e9a74a8.zip
FreeBSD-src-76489ac1ea604f511232838164573ea21e9a74a8.tar.gz
Use ISO C99 integer types in sys/kern where possible.
There are only about 100 occurences of the BSD-specific u_int*_t datatypes in sys/kern. The ISO C99 integer types are used here more often.
Diffstat (limited to 'sys/kern/uipc_mbuf2.c')
-rw-r--r--sys/kern/uipc_mbuf2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/uipc_mbuf2.c b/sys/kern/uipc_mbuf2.c
index 3dc4238..96be658 100644
--- a/sys/kern/uipc_mbuf2.c
+++ b/sys/kern/uipc_mbuf2.c
@@ -314,7 +314,7 @@ m_tag_free_default(struct m_tag *t)
/* Get a packet tag structure along with specified data following. */
struct m_tag *
-m_tag_alloc(u_int32_t cookie, int type, int len, int wait)
+m_tag_alloc(uint32_t cookie, int type, int len, int wait)
{
struct m_tag *t;
@@ -376,7 +376,7 @@ m_tag_delete_nonpersistent(struct mbuf *m)
/* Find a tag, starting from a given position. */
struct m_tag *
-m_tag_locate(struct mbuf *m, u_int32_t cookie, int type, struct m_tag *t)
+m_tag_locate(struct mbuf *m, uint32_t cookie, int type, struct m_tag *t)
{
struct m_tag *p;
OpenPOWER on IntegriCloud