projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27a0805
)
g_bit_lock: remove double variable declarations
author
Ryan Lortie
<desrt@desrt.ca>
Mon, 1 Feb 2010 23:30:57 +0000
(18:30 -0500)
committer
Ryan Lortie
<desrt@desrt.ca>
Mon, 1 Feb 2010 23:32:34 +0000
(18:32 -0500)
Remove double declaration of local static variables used for futex
emulation.
Problem found by Haakon Sporsheim <haakon.sporsheim@gmail.com>.
glib/gbitlock.c
patch
|
blob
|
history
diff --git
a/glib/gbitlock.c
b/glib/gbitlock.c
index c62ec3055a8aacb37c22f545c292863dee6f49f3..915aa7cb659251bd3fdc24306702305f655858bc 100644
(file)
--- a/
glib/gbitlock.c
+++ b/
glib/gbitlock.c
@@
-111,9
+111,6
@@
typedef struct
GCond *wait_queue;
} WaitAddress;
-static GSList *g_futex_address_list;
-static GMutex *g_futex_mutex;
-
static WaitAddress *
g_futex_find_address (const volatile gint *address)
{