[or-cvs] All these headers we get via torint.h

Peter Palfrader weasel at seul.org
Wed May 10 10:24:20 UTC 2006


Update of /home/or/cvsroot/tor/src/common
In directory moria:/tmp/cvs-serv18393/common

Modified Files:
	util.c 
Log Message:
All these headers we get via torint.h

Index: util.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/common/util.c,v
retrieving revision 1.255
retrieving revision 1.256
diff -u -p -d -r1.255 -r1.256
--- util.c	18 Apr 2006 03:58:42 -0000	1.255
+++ util.c	10 May 2006 10:24:17 -0000	1.256
@@ -46,23 +46,6 @@ const char util_c_id[] = "$Id$";
 #ifdef HAVE_ERRNO_H
 #include <errno.h>
 #endif
-#ifdef HAVE_LIMITS_H
-#include <limits.h>
-#endif
-#ifdef HAVE_SYS_LIMITS_H
-#include <sys/limits.h>
-#endif
-#ifdef HAVE_MACHINE_LIMITS_H
-#ifndef __FreeBSD__
-  /* FreeBSD has a bug where it complains that this file is obsolete,
-     and I should migrate to using sys/limits. It complains even when
-     I include both. */
-#include <machine/limits.h>
-#endif
-#endif
-#ifdef HAVE_SYS_TYPES_H
-#include <sys/types.h> /* Must be included before sys/stat.h for Ultrix */
-#endif
 #ifdef HAVE_SYS_SOCKET_H
 #include <sys/socket.h>
 #endif



More information about the tor-commits mailing list