Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
atomic: move atomic_lock declaration from tvheadend.h to atomic.h
  • Loading branch information
perexg committed May 25, 2015
1 parent b232b48 commit d455fcf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/atomic.h
Expand Up @@ -20,6 +20,8 @@

#include <stdint.h>

extern pthread_mutex_t atomic_lock;

static inline int
atomic_add(volatile int *ptr, int incr)
{
Expand Down
1 change: 0 additions & 1 deletion src/tvheadend.h
Expand Up @@ -104,7 +104,6 @@ extern int tvheadend_running;

extern pthread_mutex_t global_lock;
extern pthread_mutex_t fork_lock;
extern pthread_mutex_t atomic_lock;

extern int tvheadend_webui_port;
extern int tvheadend_webui_debug;
Expand Down

0 comments on commit d455fcf

Please sign in to comment.