summaryrefslogtreecommitdiff
path: root/include/my_global.h
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mysql.com>2008-10-21 21:31:14 +0200
committerSergei Golubchik <serg@mysql.com>2008-10-21 21:31:14 +0200
commit1033d8fd93c34a62fb7cefd368ccc43c00fc0ec4 (patch)
tree04a659478a302313b6326dec32570bdfe70a211a /include/my_global.h
parenta58d20053dbd9192905bb4525f089a32f16b88f5 (diff)
parentd40f3fc3b82a5abccad2514696d774e10df70a32 (diff)
downloadmariadb-git-1033d8fd93c34a62fb7cefd368ccc43c00fc0ec4.tar.gz
merged
Diffstat (limited to 'include/my_global.h')
-rw-r--r--include/my_global.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/my_global.h b/include/my_global.h
index c350982fbb0..c2aba8ae8aa 100644
--- a/include/my_global.h
+++ b/include/my_global.h
@@ -579,7 +579,7 @@ typedef unsigned short ushort;
#define CMP_NUM(a,b) (((a) < (b)) ? -1 : ((a) == (b)) ? 0 : 1)
#define sgn(a) (((a) < 0) ? -1 : ((a) > 0) ? 1 : 0)
-#define swap_variables(t, a, b) { register t swap_dummy; swap_dummy= a; a= b; b= swap_dummy; }
+#define swap_variables(t, a, b) { t swap_dummy; swap_dummy= a; a= b; b= swap_dummy; }
#define test(a) ((a) ? 1 : 0)
#define set_if_bigger(a,b) do { if ((a) < (b)) (a)=(b); } while(0)
#define set_if_smaller(a,b) do { if ((a) > (b)) (a)=(b); } while(0)