summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--winsup/cygserver/ChangeLog5
-rw-r--r--winsup/cygserver/sysv_sem.cc2
2 files changed, 6 insertions, 1 deletions
diff --git a/winsup/cygserver/ChangeLog b/winsup/cygserver/ChangeLog
index 46dd895f1..6ec8da4aa 100644
--- a/winsup/cygserver/ChangeLog
+++ b/winsup/cygserver/ChangeLog
@@ -1,3 +1,8 @@
+2005-06-14 Corinna Vinschen <corinna@vinschen.de>
+
+ * sysv_sem.cc (semu_list): Define static to avoid gcc 4.x compiler
+ warning.
+
2005-04-08 Corinna Vinschen <corinna@vinschen.de>
* bsd_mutex.cc (msleep_cnt): Remove.
diff --git a/winsup/cygserver/sysv_sem.cc b/winsup/cygserver/sysv_sem.cc
index 477df4a26..ee1bda856 100644
--- a/winsup/cygserver/sysv_sem.cc
+++ b/winsup/cygserver/sysv_sem.cc
@@ -79,7 +79,7 @@ static int semtot = 0;
static struct semid_ds *sema; /* semaphore id pool */
static struct mtx *sema_mtx; /* semaphore id pool mutexes*/
static struct sem *sem; /* semaphore pool */
-SLIST_HEAD(, sem_undo) semu_list; /* list of active undo structures */
+static SLIST_HEAD(, sem_undo) semu_list; /* list of active undo structures */
static int *semu; /* undo structure pool */
#ifndef __CYGWIN__
static eventhandler_tag semexit_tag;