Commit d73cca23 authored by Brice Videau's avatar Brice Videau
Browse files

Variables should have been static.

parent d5e827dd
......@@ -153,8 +153,8 @@ struct _ze_event_h {
pthread_mutex_unlock(&_ze_events_mutex); \
}
struct _ze_event_h *_ze_events = NULL;
pthread_mutex_t _ze_events_mutex = PTHREAD_MUTEX_INITIALIZER;
static struct _ze_event_h *_ze_events = NULL;
static pthread_mutex_t _ze_events_mutex = PTHREAD_MUTEX_INITIALIZER;
static inline void _register_ze_event(
ze_event_handle_t event,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment