From 435227352b3f144e68f05bb190b81bdc82403b7a Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Tue, 14 Jun 2005 12:22:14 +0000 Subject: * sysv_sem.cc (semu_list): Define static to avoid gcc 4.x compiler warning. --- winsup/cygserver/sysv_sem.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'winsup/cygserver/sysv_sem.cc') 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; -- cgit v1.2.3