summaryrefslogtreecommitdiff
path: root/mysys
diff options
context:
space:
mode:
authorunknown <serg@janus.mylan>2008-02-13 18:25:56 +0100
committerunknown <serg@janus.mylan>2008-02-13 18:25:56 +0100
commitbee40ef1d0756c2dc05c6ce75774b972a78410e9 (patch)
tree253c09616d11a8775843ea6100977feb3791c02d /mysys
parentcbaf350bcbaaa1246bc8e53c802ba2232a3dd4ac (diff)
downloadmariadb-git-bee40ef1d0756c2dc05c6ce75774b972a78410e9.tar.gz
build/test failures on different platforms
include/atomic/rwlock.h: define MY_ATOMIC_MODE_RWLOCKS if this is the way we have to go mysys/lf_alloc-pin.c: no semicolon mysys/lf_hash.c: no semicolon storage/maria/lockman.c: no semicolon storage/maria/ma_loghandler.c: no semicolon unittest/mysys/my_atomic-t.c: powerpc is no better (condition could be a bit too broad, but hey, it's just a unit test)
Diffstat (limited to 'mysys')
-rw-r--r--mysys/lf_alloc-pin.c2
-rw-r--r--mysys/lf_hash.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/mysys/lf_alloc-pin.c b/mysys/lf_alloc-pin.c
index ff9c5a42f81..054f33482f9 100644
--- a/mysys/lf_alloc-pin.c
+++ b/mysys/lf_alloc-pin.c
@@ -403,7 +403,7 @@ found:
/* lock-free memory allocator for fixed-size objects */
-LF_REQUIRE_PINS(1);
+LF_REQUIRE_PINS(1)
/*
callback for _lf_pinbox_real_free to free a list of unpinned objects -
diff --git a/mysys/lf_hash.c b/mysys/lf_hash.c
index 322f04cdc41..c197cc99711 100644
--- a/mysys/lf_hash.c
+++ b/mysys/lf_hash.c
@@ -28,7 +28,7 @@
#include <my_bit.h>
#include <lf.h>
-LF_REQUIRE_PINS(3);
+LF_REQUIRE_PINS(3)
/* An element of the list */
typedef struct {