mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 22:03:31 +01:00
COCCI: Disable some buffers.c macros that coccinelle can't handle.
This commit is contained in:
parent
2e64dfea95
commit
b03c8c74ce
@ -99,6 +99,7 @@
|
|||||||
#define DBG_S(s) (void)0
|
#define DBG_S(s) (void)0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef COCCI
|
||||||
#ifdef DISABLE_MEMORY_SENTINELS
|
#ifdef DISABLE_MEMORY_SENTINELS
|
||||||
#define CHUNK_SET_SENTINEL(chunk, alloclen) STMT_NIL
|
#define CHUNK_SET_SENTINEL(chunk, alloclen) STMT_NIL
|
||||||
#else
|
#else
|
||||||
@ -109,6 +110,7 @@
|
|||||||
memset(a,0,SENTINEL_LEN); \
|
memset(a,0,SENTINEL_LEN); \
|
||||||
} while (0)
|
} while (0)
|
||||||
#endif /* defined(DISABLE_MEMORY_SENTINELS) */
|
#endif /* defined(DISABLE_MEMORY_SENTINELS) */
|
||||||
|
#endif
|
||||||
|
|
||||||
/** Move all bytes stored in <b>chunk</b> to the front of <b>chunk</b>->mem,
|
/** Move all bytes stored in <b>chunk</b> to the front of <b>chunk</b>->mem,
|
||||||
* to free up space at the end. */
|
* to free up space at the end. */
|
||||||
|
Loading…
Reference in New Issue
Block a user