summaryrefslogtreecommitdiff
path: root/mysys
diff options
context:
space:
mode:
authorunknown <joerg@trift2.>2007-02-12 20:13:34 +0100
committerunknown <joerg@trift2.>2007-02-12 20:13:34 +0100
commit715281a94bf2e215f85e3074ffe2131dba311f88 (patch)
treefc0fd2e5ade48056136afe18b6acda8246e0c16f /mysys
parent2d2957c041708548a422d4e64bf2d3cc10051cf8 (diff)
downloadmariadb-git-715281a94bf2e215f85e3074ffe2131dba311f88.tar.gz
Fix a linkage problem with the previous patch for "thr_client_alarm".
mysys/my_pthread.c: Linkage problem with previous patch: "thr_client_alarm" must be declared in here. mysys/thr_alarm.c: Linkage problem: Declare "thr_client_alarm" over in "mysys/my_pthread.c".
Diffstat (limited to 'mysys')
-rw-r--r--mysys/my_pthread.c1
-rw-r--r--mysys/thr_alarm.c1
2 files changed, 1 insertions, 1 deletions
diff --git a/mysys/my_pthread.c b/mysys/my_pthread.c
index 19766a2d195..fd716448e43 100644
--- a/mysys/my_pthread.c
+++ b/mysys/my_pthread.c
@@ -32,6 +32,7 @@
#endif
uint thd_lib_detected;
+uint thr_client_alarm;
#ifndef my_pthread_setprio
void my_pthread_setprio(pthread_t thread_id,int prior)
diff --git a/mysys/thr_alarm.c b/mysys/thr_alarm.c
index 8f342e269de..c8e1e55aac2 100644
--- a/mysys/thr_alarm.c
+++ b/mysys/thr_alarm.c
@@ -37,7 +37,6 @@
#define ETIME ETIMEDOUT
#endif
-uint thr_client_alarm;
static int alarm_aborted=1; /* No alarm thread */
my_bool thr_alarm_inited= 0;
volatile my_bool alarm_thread_running= 0;