[or-cvs] Turn SENTINELS back on; give NOINLINE a name and turn it off.

Nick Mathewson nickm at seul.org
Wed Apr 27 19:40:34 UTC 2005


Update of /home/or/cvsroot/tor/src/or
In directory moria.mit.edu:/tmp/cvs-serv30996/src/or

Modified Files:
	buffers.c 
Log Message:
Turn SENTINELS back on; give NOINLINE a name and turn it off.

Index: buffers.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/buffers.c,v
retrieving revision 1.141
retrieving revision 1.142
diff -u -d -r1.141 -r1.142
--- buffers.c	27 Apr 2005 17:21:42 -0000	1.141
+++ buffers.c	27 Apr 2005 19:40:31 -0000	1.142
@@ -12,9 +12,10 @@
 
 #include "or.h"
 
-#undef SENTINELS
+#define SENTINELS
 #undef CHECK_AFTER_RESIZE
 #undef PARANOIA
+#undef NOINLINE
 
 #ifdef SENTINELS
 /* If SENTINELS is defined, check for attempts to write beyond the
@@ -40,8 +41,10 @@
 #define check() do { } while (0)
 #endif
 
+#ifdef NOINLINE
 #undef INLINE
 #define INLINE
+#endif
 
 #define BUFFER_MAGIC 0xB0FFF312u
 struct buf_t {



More information about the tor-commits mailing list