Skip to content
Snippets Groups Projects
Commit 0abe8951 authored by Nick Mathewson's avatar Nick Mathewson :game_die:
Browse files

timers.c: define TIMEOUT_PUBLIC to no tokens when using COCCI.

parent 9453746b
Branches
Tags
No related merge requests found
......@@ -56,7 +56,9 @@ struct timeout_cb {
/*
* 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. */
#define TIMEOUT_PUBLIC __attribute__((__unused__)) static
#else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment