aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/posix
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2012-08-15 10:08:32 -0700
committerRoland McGrath <roland@hack.frob.com>2012-08-15 10:08:32 -0700
commita3f95dcc57e5d2e8fb2ec4675475172f75e739ce (patch)
tree7e0aee8b398edf35e4319e9fdd4738313276c174 /sysdeps/posix
parentfdd3affb9761a0783bc2c3c93cc570cb8efe264b (diff)
downloadglibc-a3f95dcc57e5d2e8fb2ec4675475172f75e739ce.zip
glibc-a3f95dcc57e5d2e8fb2ec4675475172f75e739ce.tar.gz
glibc-a3f95dcc57e5d2e8fb2ec4675475172f75e739ce.tar.bz2
Add casts to suppress warnings in system.c under [!_LIBC_REENTRANT].
Diffstat (limited to 'sysdeps/posix')
-rw-r--r--sysdeps/posix/system.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/posix/system.c b/sysdeps/posix/system.c
index c4d65bf..5973b62 100644
--- a/sysdeps/posix/system.c
+++ b/sysdeps/posix/system.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991-2000,2002,2003,2005,2007 Free Software Foundation, Inc.
+/* Copyright (C) 1991-2012 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
@@ -70,13 +70,13 @@ do_system (const char *line)
{
if (__sigaction (SIGINT, &sa, &intr) < 0)
{
- SUB_REF ();
+ (void) SUB_REF ();
goto out;
}
if (__sigaction (SIGQUIT, &sa, &quit) < 0)
{
save = errno;
- SUB_REF ();
+ (void) SUB_REF ();
goto out_restore_sigint;
}
}