mirror of
https://github.com/samba-team/samba.git
synced 2025-01-27 14:04:05 +03:00
libutil: Remove obsolete signal type cast.
(This used to be ctdb commit 8dd377b6a4d188af086f9a5b41a1b48e44eda6f3)
This commit is contained in:
parent
0f807f76c0
commit
4b32457822
@ -158,7 +158,7 @@ _PUBLIC_ void smb_panic(const char *why)
|
||||
call_backtrace();
|
||||
|
||||
#ifdef SIGABRT
|
||||
CatchSignal(SIGABRT,SIGNAL_CAST SIG_DFL);
|
||||
CatchSignal(SIGABRT, SIG_DFL);
|
||||
#endif
|
||||
abort();
|
||||
}
|
||||
@ -204,16 +204,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
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user