summaryrefslogtreecommitdiff
path: root/libnet/src/libnet_cq.c
diff options
context:
space:
mode:
authorThomas Habets <thomas@habets.pp.se>2009-10-06 23:30:06 +0200
committerThomas Habets <thomas@habets.pp.se>2009-10-06 23:48:55 +0200
commit55545fff0c44fc1266837c0c0ee1108b3189ff64 (patch)
tree4d4d57a31ff96fc1b9d684639480fe85d15ccbf9 /libnet/src/libnet_cq.c
parent665bd55cd8f8ec5e260da98b4fcab870af3dc63e (diff)
downloadlibnet-55545fff0c44fc1266837c0c0ee1108b3189ff64.tar.gz
Replace u_intX_t with C99 uintX_t.
Diffstat (limited to 'libnet/src/libnet_cq.c')
-rw-r--r--libnet/src/libnet_cq.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libnet/src/libnet_cq.c b/libnet/src/libnet_cq.c
index 912253d..c8e86ef 100644
--- a/libnet/src/libnet_cq.c
+++ b/libnet/src/libnet_cq.c
@@ -51,7 +51,7 @@ static libnet_cqd_t l_cqd = {0, CQ_LOCK_UNLOCKED, NULL};
static int
-set_cq_lock(u_int x)
+set_cq_lock(uint x)
{
if (check_cq_lock(x))
{
@@ -63,7 +63,7 @@ set_cq_lock(u_int x)
}
static int
-clear_cq_lock(u_int x)
+clear_cq_lock(uint x)
{
if (!check_cq_lock(x))
{
@@ -390,13 +390,13 @@ libnet_cq_next()
return (l_cqd.current ? l_cqd.current->context : NULL);
}
-u_int32_t
+uint32_t
libnet_cq_size()
{
return (l_cqd.node);
}
-u_int32_t
+uint32_t
libnet_cq_end_loop()
{
if (! clear_cq_lock(CQ_LOCK_WRITE))