From: Andrew Tridgell Date: Tue, 22 Mar 2011 23:37:54 +0000 (+1100) Subject: fault: fixed smb_panic() prototypes X-Git-Tag: ldb-1.1.0~609 X-Git-Url: http://git.samba.org/samba.git/?a=commitdiff_plain;h=6e8b6358ecc7dbebe9681d8e906f82993d0465df;p=ira%2Fwip.git fault: fixed smb_panic() prototypes Autobuild-User: Andrew Tridgell Autobuild-Date: Wed Mar 23 01:51:44 CET 2011 on sn-devel-104 --- diff --git a/lib/util/util.h b/lib/util/util.h index b143e4e9919..58e6ffd086b 100644 --- a/lib/util/util.h +++ b/lib/util/util.h @@ -71,8 +71,6 @@ _PUBLIC_ void call_backtrace(void); /** Something really nasty happened - panic ! **/ -_PUBLIC_ _NORETURN_ void smb_panic(const char *why); - typedef void (*smb_panic_handler_t)(const char *why); _PUBLIC_ void fault_configure(smb_panic_handler_t panic_handler); diff --git a/source3/include/includes.h b/source3/include/includes.h index cda366f7c13..b1b5dadd154 100644 --- a/source3/include/includes.h +++ b/source3/include/includes.h @@ -758,7 +758,6 @@ ssize_t readahead(int fd, off64_t offset, size_t count); #define CONST_DISCARD(type, ptr) ((type) ((void *) (ptr))) #endif -void smb_panic( const char *why ) _NORETURN_; void dump_core(void) _NORETURN_; void exit_server(const char *const reason) _NORETURN_; void exit_server_cleanly(const char *const reason) _NORETURN_;