Bug #7838 | pipe_sig_handler should be static | ||
---|---|---|---|
Submitted: | 12 Jan 2005 15:08 | Modified: | 17 Feb 2005 20:57 |
Reporter: | Sylvain Chapeland | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server | Severity: | S3 (Non-critical) |
Version: | 4.1.8 | OS: | Linux (Linux) |
Assigned to: | Jani Tolonen | CPU Architecture: | Any |
[12 Jan 2005 15:08]
Sylvain Chapeland
[13 Jan 2005 11:08]
Aleksey Kishkin
got: gcc test.c `/usr/local/mysql/bin/mysql_config --cflags --libs` /usr/local/mysql/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x2400): In function `pipe_sig_handler': : multiple definition of `pipe_sig_handler' /tmp/ccIpyLQA.o(.text+0x0): first defined here /usr/lib/gcc-lib/i486-slackware-linux/3.3.4/../../../../i486-slackware-linux/bin/ld: Warning: size of symbol `pipe_sig_handler' changed from 27 in /tmp/ccIpyLQA.o to 31 in /usr/local/mysql/lib/mysql/libmysqlclient.a(libmysql.o) collect2: ld returned 1 exit status
[17 Feb 2005 20:57]
Jani Tolonen
Changed function name to my_pipe_sig_handler(). Function cannot be static, as it is used in client.c.