office-gobmx/libmariadb/mariadb-static-inline.patch

12 lines
499 B
Diff
Raw Normal View History

--- 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;