Turn SENTINELS back on; give NOINLINE a name and turn it off.

svn:r4139
This commit is contained in:
Nick Mathewson 2005-04-27 19:40:31 +00:00
parent 42d57317cd
commit 53607d3bb3

View File

@ -12,9 +12,10 @@ const char buffers_c_id[] = "$Id$";
#include "or.h" #include "or.h"
#undef SENTINELS #define SENTINELS
#undef CHECK_AFTER_RESIZE #undef CHECK_AFTER_RESIZE
#undef PARANOIA #undef PARANOIA
#undef NOINLINE
#ifdef SENTINELS #ifdef SENTINELS
/* If SENTINELS is defined, check for attempts to write beyond the /* 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) #define check() do { } while (0)
#endif #endif
#ifdef NOINLINE
#undef INLINE #undef INLINE
#define INLINE #define INLINE
#endif
#define BUFFER_MAGIC 0xB0FFF312u #define BUFFER_MAGIC 0xB0FFF312u
struct buf_t { struct buf_t {