summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-04-28 22:41:57 +0000
committerUlrich Drepper <drepper@redhat.com>1998-04-28 22:41:57 +0000
commit936e9dafaa3e3c58e18c9a8a6e5dd606be47910f (patch)
treed5c24a270633de59ad124e4829063a1affdae962
parent5b155773ee9c869d926e35039c244bbdfc249384 (diff)
downloadglibc-936e9dafaa3e3c58e18c9a8a6e5dd606be47910f.tar.gz
glibc-936e9dafaa3e3c58e18c9a8a6e5dd606be47910f.tar.xz
glibc-936e9dafaa3e3c58e18c9a8a6e5dd606be47910f.zip
Update.
	* sysvipc/sys/sem.h: Don't use union semun in semctl prototype.
-rw-r--r--ChangeLog2
-rw-r--r--sysvipc/sys/sem.h5
2 files changed, 4 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 1c5b262b78..520c7ebbc3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 1998-04-28  Ulrich Drepper  <drepper@cygnus.com>
 
+	* sysvipc/sys/sem.h: Don't use union semun in semctl prototype.
+
 	* string/basename.c [!_LIBC]: Define function as gnu_basename.
 
 	* posix/getopt.c [!__GNU_LIBRARY__]: Include string.h or
diff --git a/sysvipc/sys/sem.h b/sysvipc/sys/sem.h
index f509d9b4a2..6ae76e2347 100644
--- a/sysvipc/sys/sem.h
+++ b/sysvipc/sys/sem.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -44,8 +44,7 @@ struct sembuf
 __BEGIN_DECLS
 
 /* Semaphore control operation.  */
-extern int semctl __P ((int __semid, int __semnum, int __cmd,
-			union semun __arg));
+extern int semctl __P ((int __semid, int __semnum, int __cmd, ...));
 
 /* Get semaphore.  */
 extern int semget __P ((key_t __key, int __nsems, int __semflg));