summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schneider <asn@redhat.com>2010-02-19 12:44:07 +0100
committerStefan Metzmacher <metze@samba.org>2010-02-23 12:23:44 +0100
commit8ac0c9fc67c8c07d0680cb069677f58434dc893e (patch)
tree09bec82d5f3b02fc7058a1dadeb7046d565055df
parent95a0ab5f1118727325c2bede31edd53ece6afb85 (diff)
downloadsamba-8ac0c9fc67c8c07d0680cb069677f58434dc893e.tar.gz
samba-8ac0c9fc67c8c07d0680cb069677f58434dc893e.tar.bz2
samba-8ac0c9fc67c8c07d0680cb069677f58434dc893e.zip
libutil: Remove obsolete signal type cast.
-rw-r--r--lib/util/fault.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/util/fault.c b/lib/util/fault.c
index cb51cbd859..11b31d751e 100644
--- a/lib/util/fault.c
+++ b/lib/util/fault.c
@@ -145,7 +145,7 @@ _PUBLIC_ _NORETURN_ void smb_panic(const char *why)
call_backtrace();
#ifdef SIGABRT
- CatchSignal(SIGABRT,SIGNAL_CAST SIG_DFL);
+ CatchSignal(SIGABRT, SIG_DFL);
#endif
abort();
}
@@ -191,16 +191,16 @@ _PUBLIC_ void fault_setup(const char *pname)
progname = pname;
}
#ifdef SIGSEGV
- CatchSignal(SIGSEGV,SIGNAL_CAST sig_fault);
+ CatchSignal(SIGSEGV, sig_fault);
#endif
#ifdef SIGBUS
- CatchSignal(SIGBUS,SIGNAL_CAST sig_fault);
+ CatchSignal(SIGBUS, sig_fault);
#endif
#ifdef SIGABRT
- CatchSignal(SIGABRT,SIGNAL_CAST sig_fault);
+ CatchSignal(SIGABRT, sig_fault);
#endif
#ifdef SIGFPE
- CatchSignal(SIGFPE,SIGNAL_CAST sig_fault);
+ CatchSignal(SIGFPE, sig_fault);
#endif
}