[glib] g_bit_lock: remove double variable declarations



commit e2bc5c21122b0a0703524a37df6cef43577a46f7
Author: Ryan Lortie <desrt desrt ca>
Date:   Mon Feb 1 18:30:57 2010 -0500

    g_bit_lock: remove double variable declarations
    
    Remove double declaration of local static variables used for futex
    emulation.
    
    Problem found by Haakon Sporsheim <haakon sporsheim gmail com>.

 glib/gbitlock.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/glib/gbitlock.c b/glib/gbitlock.c
index c62ec30..915aa7c 100644
--- 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)
 {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]