From 043b5f81429412cf23d578d1dc2b45107a8352e5 Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Tue, 1 May 2012 20:30:02 +0000 Subject: Remove recently introduced use of ULONG_MAX * io.c: Remove limits.h inclusion. (tprint_iov): Use "(unsigned long) -1L" instead of "ULONG_MAX". * net.c: Remove limits.h inclusion. (printmmsghdr, sys_sendmsg): Use "(unsigned long) -1L" instead of "ULONG_MAX". --- io.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'io.c') diff --git a/io.c b/io.c index bf5baa2..6b3f4b7 100644 --- a/io.c +++ b/io.c @@ -30,7 +30,6 @@ #include "defs.h" #include -#include #if HAVE_SYS_UIO_H # include #endif @@ -143,7 +142,7 @@ tprint_iov_upto(struct tcb *tcp, unsigned long len, unsigned long addr, int deco void tprint_iov(struct tcb *tcp, unsigned long len, unsigned long addr, int decode_iov) { - tprint_iov_upto(tcp, len, addr, decode_iov, ULONG_MAX); + tprint_iov_upto(tcp, len, addr, decode_iov, (unsigned long) -1L); } int -- cgit v1.2.3