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/thread_test.c | |
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/thread_test.c')
-rw-r--r-- | client/thread_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/thread_test.c b/client/thread_test.c index 4d3ae6e7ddd..dbe2acee8db 100644 --- a/client/thread_test.c +++ b/client/thread_test.c @@ -19,7 +19,7 @@ #ifndef THREAD -int main(int argc, char **argv) +int main(void) { printf("This test must be compiled with multithread support to work\n"); exit(1); |