summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2011-03-23 10:37:54 +1100
committerAndrew Tridgell <tridge@samba.org>2011-03-23 01:51:44 +0100
commit6e8b6358ecc7dbebe9681d8e906f82993d0465df (patch)
tree31b497bb215df77a12c2d1125e75637fedf949cc
parent43a07621bb26c1b6dbe8cfd848dd4d4863ca92b9 (diff)
downloadsamba-6e8b6358ecc7dbebe9681d8e906f82993d0465df.tar.gz
samba-6e8b6358ecc7dbebe9681d8e906f82993d0465df.tar.bz2
samba-6e8b6358ecc7dbebe9681d8e906f82993d0465df.zip
fault: fixed smb_panic() prototypes
Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Mar 23 01:51:44 CET 2011 on sn-devel-104
-rw-r--r--lib/util/util.h2
-rw-r--r--source3/include/includes.h1
2 files changed, 0 insertions, 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_;