From 6e8b6358ecc7dbebe9681d8e906f82993d0465df Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 23 Mar 2011 10:37:54 +1100 Subject: fault: fixed smb_panic() prototypes Autobuild-User: Andrew Tridgell Autobuild-Date: Wed Mar 23 01:51:44 CET 2011 on sn-devel-104 --- lib/util/util.h | 2 -- source3/include/includes.h | 1 - 2 files changed, 3 deletions(-) diff --git a/lib/util/util.h b/lib/util/util.h index b143e4e991..58e6ffd086 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 cda366f7c1..b1b5dadd15 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_; -- cgit