projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix syntax error introduced by previous
[collectd.git]
/
src
/
utils_ovs.c
diff --git
a/src/utils_ovs.c
b/src/utils_ovs.c
index
ca63181
..
3b7236c
100644
(file)
--- a/
src/utils_ovs.c
+++ b/
src/utils_ovs.c
@@
-191,7
+191,7
@@
struct ovs_db_s {
};
/* Global variables */
};
/* Global variables */
-static uint64_t ovs_uid
= 0
;
+static uint64_t ovs_uid;
static pthread_mutex_t ovs_uid_mutex = PTHREAD_MUTEX_INITIALIZER;
/* Post an event to event thread.
static pthread_mutex_t ovs_uid_mutex = PTHREAD_MUTEX_INITIALIZER;
/* Post an event to event thread.
@@
-209,7
+209,7
@@
static void ovs_db_event_post(ovs_db_t *pdb, int event) {
/* Check if POLL thread is still running. Returns
* 1 if running otherwise 0 is returned */
/* Check if POLL thread is still running. Returns
* 1 if running otherwise 0 is returned */
-static
_B
ool ovs_db_poll_is_running(ovs_db_t *pdb) {
+static
b
ool ovs_db_poll_is_running(ovs_db_t *pdb) {
int state = 0;
pthread_mutex_lock(&pdb->poll_thread.mutex);
state = pdb->poll_thread.state;
int state = 0;
pthread_mutex_lock(&pdb->poll_thread.mutex);
state = pdb->poll_thread.state;