diff options
author | Guido van Rossum <guido@python.org> | 1998-05-01 18:58:59 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1998-05-01 18:58:59 (GMT) |
commit | a5e54d02a0246d607151fbe558aa115d6e881172 (patch) | |
tree | 6cbaa613b695b59f003da1399798cf65e581976c | |
parent | 0132f69c2ef8bcc49cf30c955ac5cc215eea50a0 (diff) | |
download | cpython-a5e54d02a0246d607151fbe558aa115d6e881172.zip cpython-a5e54d02a0246d607151fbe558aa115d6e881172.tar.gz cpython-a5e54d02a0246d607151fbe558aa115d6e881172.tar.bz2 |
Use (void) to throw away a function result, not (void *) !
-rw-r--r-- | Modules/signalmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/signalmodule.c b/Modules/signalmodule.c index 175f6eb..bb7ac35 100644 --- a/Modules/signalmodule.c +++ b/Modules/signalmodule.c @@ -147,7 +147,7 @@ signal_handler(sig_num) return; } #endif - (void *)signal(sig_num, &signal_handler); + (void)signal(sig_num, &signal_handler); } |