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

threads.h: coccinelle cannot understand a macro.

parent 4346e556
Branches
Tags
No related merge requests found
......@@ -106,7 +106,9 @@ void tor_threadlocal_set(tor_threadlocal_t *threadlocal, void *value);
typedef struct atomic_counter_t {
atomic_size_t val;
} atomic_counter_t;
#ifndef COCCI
#define ATOMIC_LINKAGE static
#endif
#else /* !(defined(HAVE_WORKING_STDATOMIC)) */
typedef struct atomic_counter_t {
tor_mutex_t mutex;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment