mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-24 06:48:05 +01:00
Turn SENTINELS back on; give NOINLINE a name and turn it off.
svn:r4139
This commit is contained in:
parent
42d57317cd
commit
53607d3bb3
1 changed files with 4 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue