diff options
author | Andrew Tridgell <tridge@samba.org> | 2011-03-22 16:17:39 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2011-03-23 11:03:57 +1100 |
commit | 580997ede06d587ecf00c6a3faff237806904cd3 (patch) | |
tree | 73e5ce8019ded546a2630703aa91bd0f41b567c5 /source3/include | |
parent | 058c3bb923c51ef3f1b4b6d698bea2b1220bdd10 (diff) | |
download | samba-580997ede06d587ecf00c6a3faff237806904cd3.tar.gz samba-580997ede06d587ecf00c6a3faff237806904cd3.tar.bz2 samba-580997ede06d587ecf00c6a3faff237806904cd3.zip |
fault: get fault.c ready for use by s4
this moves the s3 specific dumpcore code into source3/lib/dumpcore.c,
and uses a function pointer to setup which smb_panic call to use
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/proto.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index b5b35a4623..bb9241c893 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -515,10 +515,6 @@ void display_set_stderr(void); NTSTATUS map_nt_error_from_unix(int unix_error); int map_errno_from_nt_status(NTSTATUS status); -/* The following definitions come from lib/fault.c */ -void fault_setup(void); -void dump_core_setup(const char *progname); - /* The following definitions come from lib/file_id.c */ struct file_id vfs_file_id_from_sbuf(connection_struct *conn, const SMB_STRUCT_STAT *sbuf); @@ -1095,7 +1091,7 @@ const char *uidtoname(uid_t uid); char *gidtoname(gid_t gid); uid_t nametouid(const char *name); gid_t nametogid(const char *name); -void smb_panic(const char *const why); +void smb_panic_s3(const char *why); void log_stack_trace(void); const char *readdirname(SMB_STRUCT_DIR *p); bool is_in_path(const char *name, name_compare_entry *namelist, bool case_sensitive); |