1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-18 00:23:50 +03:00

r13840: Mark some functions as public.

This commit is contained in:
Jelmer Vernooij
2006-03-05 17:15:19 +00:00
committed by Gerald (Jerry) Carter
parent fb2f70de4f
commit 9a188eb1f4
28 changed files with 394 additions and 407 deletions

View File

@@ -46,7 +46,7 @@ static const char *progname;
/**
* Write backtrace to debug log
*/
void call_backtrace(void)
_PUBLIC_ void call_backtrace(void)
{
#ifdef HAVE_BACKTRACE
#define BACKTRACE_STACK_SIZE 64
@@ -112,7 +112,7 @@ void call_backtrace(void)
/**
Something really nasty happened - panic !
**/
void smb_panic(const char *why)
_PUBLIC_ void smb_panic(const char *why)
{
const char *cmd = lp_panic_action();
int result;
@@ -181,7 +181,7 @@ static void sig_fault(int sig)
/**
setup our fault handlers
**/
void fault_setup(const char *pname)
_PUBLIC_ void fault_setup(const char *pname)
{
if (progname == NULL) {
progname = pname;
@@ -204,7 +204,7 @@ void fault_setup(const char *pname)
register a fault handler.
Should only be called once in the execution of smbd.
*/
BOOL register_fault_handler(const char *name, void (*fault_handler)(int sig))
_PUBLIC_ BOOL register_fault_handler(const char *name, void (*fault_handler)(int sig))
{
if (fault_handlers.name != NULL) {
/* it's already registered! */