diff options
author | Ulrich Drepper <drepper@redhat.com> | 2000-02-13 08:17:12 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2000-02-13 08:17:12 +0000 |
commit | 466618568dd9045eaf0e9ce505d1e2c9edd47243 (patch) | |
tree | 11c4502a190e76e3676178c79d90cdad12088fb7 /sysdeps/unix/sysv/linux/i386/semctl.c | |
parent | b02b9253e0c1770707ed791f0aa274af79886932 (diff) | |
download | glibc-466618568dd9045eaf0e9ce505d1e2c9edd47243.tar.gz glibc-466618568dd9045eaf0e9ce505d1e2c9edd47243.tar.xz glibc-466618568dd9045eaf0e9ce505d1e2c9edd47243.zip |
Update.
2000-02-12 Andreas Jaeger <aj@suse.de> * sysdeps/unix/sysv/linux/i386/msgctl.c (__new_msgctl): Move errno declaration to place where it's needed to avoid compiler warning. * sysdeps/unix/sysv/linux/i386/semctl.c (__new_semctl): Likewise. * locale/weightwc.h (findidx): Correct find index value.
Diffstat (limited to 'sysdeps/unix/sysv/linux/i386/semctl.c')
-rw-r--r-- | sysdeps/unix/sysv/linux/i386/semctl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/i386/semctl.c b/sysdeps/unix/sysv/linux/i386/semctl.c index 7704d2387b..6eb64b3a64 100644 --- a/sysdeps/unix/sysv/linux/i386/semctl.c +++ b/sysdeps/unix/sysv/linux/i386/semctl.c @@ -104,7 +104,7 @@ __new_semctl (int semid, int semnum, int cmd, ...) } { - int save_errno, result; + int result; struct __old_semid_ds old; struct semid_ds *buf; @@ -113,7 +113,7 @@ __new_semctl (int semid, int semnum, int cmd, ...) { if (__libc_missing_32bit_uids < 0) { - save_errno = errno; + int save_errno = errno; /* Test presence of new IPC by testing for getuid32 syscall. */ result = INLINE_SYSCALL (getuid32, 0); |