office-gobmx/libmariadb/mariadb-static-inline.patch
Stephan Bergmann 7cb6993946 No external definition of non-static inline local_thr_alarm
Change-Id: I0ae90e8a46ea314fa0f8650b61d6ee7410a785ca
2013-03-16 18:57:13 +01:00

11 lines
499 B
Diff

--- mariadb/libmysql/net.c 2013-03-15 21:05:15.551769966 +0100
+++ mariadb/libmysql/net.c 2013-03-15 21:26:13.543332306 +0100
@@ -75,7 +75,7 @@
#define thr_alarm_in_use(A) (*(A))
#define thr_end_alarm(A)
#define thr_alarm(A,B,C) local_thr_alarm((A),(B),(C))
-inline int local_thr_alarm(my_bool *A,int B __attribute__((unused)),ALARM *C __attribute__((unused)))
+static inline int local_thr_alarm(my_bool *A,int B __attribute__((unused)),ALARM *C __attribute__((unused)))
{
*A=1;
return 0;