summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2005-04-27 19:40:31 +0000
committerNick Mathewson <nickm@torproject.org>2005-04-27 19:40:31 +0000
commit53607d3bb352e93b72360a7772cc60532810566b (patch)
tree7053d89955f3a8f2a3b2ff280a06e0b94392caa0
parent42d57317cdf4ab41b4cd3ae89113ac23598bea14 (diff)
downloadtor-53607d3bb352e93b72360a7772cc60532810566b.tar.gz
tor-53607d3bb352e93b72360a7772cc60532810566b.zip
Turn SENTINELS back on; give NOINLINE a name and turn it off.debian-version-0.1.0.5-rc-200504272000-1
svn:r4139
-rw-r--r--src/or/buffers.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/or/buffers.c b/src/or/buffers.c
index 1669e356f3..903d842434 100644
--- a/src/or/buffers.c
+++ b/src/or/buffers.c
@@ -12,9 +12,10 @@ const char buffers_c_id[] = "$Id$";
#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 @@ const char buffers_c_id[] = "$Id$";
#define check() do { } while (0)
#endif
+#ifdef NOINLINE
#undef INLINE
#define INLINE
+#endif
#define BUFFER_MAGIC 0xB0FFF312u
struct buf_t {