1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

Fixed Bug#7838, "pipe_sig_handler should be static".

This commit is contained in:
unknown
2005-02-17 23:00:48 +02:00
parent c36f737d54
commit b1e6157d10
2 changed files with 5 additions and 5 deletions

View File

@ -92,7 +92,7 @@ my_bool net_flush(NET *net);
#define unsigned_field(A) ((A)->flags & UNSIGNED_FLAG)
static void append_wild(char *to,char *end,const char *wild);
sig_handler pipe_sig_handler(int sig);
sig_handler my_pipe_sig_handler(int sig);
static my_bool mysql_client_init= 0;
static my_bool org_my_init_done= 0;
@ -294,11 +294,11 @@ mysql_debug(const char *debug __attribute__((unused)))
**************************************************************************/
sig_handler
pipe_sig_handler(int sig __attribute__((unused)))
my_pipe_sig_handler(int sig __attribute__((unused)))
{
DBUG_PRINT("info",("Hit by signal %d",sig));
#ifdef DONT_REMEMBER_SIGNAL
(void) signal(SIGPIPE,pipe_sig_handler);
(void) signal(SIGPIPE, my_pipe_sig_handler);
#endif
}