mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 22:03:31 +01:00
timers.c: define TIMEOUT_PUBLIC to no tokens when using COCCI.
This commit is contained in:
parent
9453746b5e
commit
0abe89519b
@ -56,7 +56,9 @@ struct timeout_cb {
|
|||||||
/*
|
/*
|
||||||
* These definitions are for timeouts.c and timeouts.h.
|
* These definitions are for timeouts.c and timeouts.h.
|
||||||
*/
|
*/
|
||||||
#ifdef __GNUC__
|
#ifdef COCCI
|
||||||
|
#define TIMEOUT_PUBLIC
|
||||||
|
#elif defined(__GNUC__)
|
||||||
/* We're not exposing any of the functions outside this file. */
|
/* We're not exposing any of the functions outside this file. */
|
||||||
#define TIMEOUT_PUBLIC __attribute__((__unused__)) static
|
#define TIMEOUT_PUBLIC __attribute__((__unused__)) static
|
||||||
#else
|
#else
|
||||||
|
Loading…
Reference in New Issue
Block a user