diff options
author | unknown <monty@donna.mysql.com> | 2001-02-02 03:47:06 +0200 |
---|---|---|
committer | unknown <monty@donna.mysql.com> | 2001-02-02 03:47:06 +0200 |
commit | 1d63e924d7e38d5c653b8fd8be044f303124d0a9 (patch) | |
tree | 19641f8502749972f84a35f4dbc182e18e30af5a /include/my_net.h | |
parent | 50c4cc1f8b7e2f265d1e98ee730b65d345d5a398 (diff) | |
download | mariadb-git-1d63e924d7e38d5c653b8fd8be044f303124d0a9.tar.gz |
Portability fixes
Changed TRUNCATE table_name -> TRUNCATE TABLE table_name
Docs/manual.texi:
Changed TRUNCATE table_name -> TRUNCATE TABLE table_name
client/mysql.cc:
Don't crash when using -q with long fields
include/my_net.h:
Portability fix
mysql-test/t/truncate.test:
Changed TRUNCATE table_name -> TRUNCATE TABLE table_name
readline/input.c:
Portability fix
scripts/make_binary_distribution.sh:
Portability fix
sql-bench/crash-me.sh:
Portability fix
sql/mini_client.cc:
Portability fix
sql/mysqld.cc:
cleanup
sql/share/dutch/errmsg.txt:
Fixed typo
sql/share/english/errmsg.txt:
Fixed typo
sql/share/greek/errmsg.txt:
Fixed typo
sql/share/hungarian/errmsg.txt:
Fixed typo
sql/share/italian/errmsg.txt:
New translated messages
sql/share/portuguese/errmsg.txt:
Fixed typo
sql/share/romanian/errmsg.txt:
Fixed typo
sql/share/slovak/errmsg.txt:
Fixed typo
sql/share/spanish/errmsg.txt:
Fixed typo
sql/sql_yacc.yy:
Changed TRUNCATE table_name -> TRUNCATE TABLE table_name
support-files/Makefile.am:
Portability fix
Diffstat (limited to 'include/my_net.h')
-rw-r--r-- | include/my_net.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/my_net.h b/include/my_net.h index a02a564c527..6a8e98d685c 100644 --- a/include/my_net.h +++ b/include/my_net.h @@ -18,6 +18,10 @@ /* thread safe version of some common functions */ /* for thread safe my_inet_ntoa */ +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + #if !defined(MSDOS) && !defined(__WIN__) && !defined(__BEOS__) #ifdef HAVE_SYS_SOCKET_H #include <sys/socket.h> @@ -31,3 +35,7 @@ #endif /* !defined(MSDOS) && !defined(__WIN__) */ void my_inet_ntoa(struct in_addr in, char *buf); + +#ifdef __cplusplus +} +#endif |