diff options
author | unknown <tim@white.box> | 2001-08-21 19:14:04 -0400 |
---|---|---|
committer | unknown <tim@white.box> | 2001-08-21 19:14:04 -0400 |
commit | 65bc433d812251e87920198b9c3ab981b142cc80 (patch) | |
tree | dce86f855e4d7021278148a09fb15136265231be /client/mysqlbinlog.cc | |
parent | 3a6db1d65f0459e0b7b993afbe247c8d6f62849b (diff) | |
download | mariadb-git-65bc433d812251e87920198b9c3ab981b142cc80.tar.gz |
Portability fix in mysqlbinlog.cc (include my_pthread.h)
Clean up 'unused argument' warnings
Add extern "C" { ... } in my_pthread.h
client/mysqlbinlog.cc:
Include my_pthread.h before thr_alarm.h (otherwise pthread_t isn't
declared yet).
client/mysqltest.c:
Fix unused argument warnings.
client/thread_test.c:
Fix unused argument warnings.
include/my_pthread.h:
Put extern "C" { ... } wrappers, because this file is included from
some C++ files.
Diffstat (limited to 'client/mysqlbinlog.cc')
-rw-r--r-- | client/mysqlbinlog.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/client/mysqlbinlog.cc b/client/mysqlbinlog.cc index 757e9dce810..f698ceaf5d4 100644 --- a/client/mysqlbinlog.cc +++ b/client/mysqlbinlog.cc @@ -21,6 +21,7 @@ #include <m_string.h> #include <my_sys.h> #include <getopt.h> +#include <my_pthread.h> #include <thr_alarm.h> #include <mysql.h> #include "log_event.h" |