* sysv_sem.cc (semu_list): Define static to avoid gcc 4.x compiler

warning.
This commit is contained in:
Corinna Vinschen 2005-06-14 12:22:14 +00:00
parent 2a0f12ac09
commit 435227352b
2 changed files with 6 additions and 1 deletions

View File

@ -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.

View File

@ -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;