summaryrefslogtreecommitdiff
path: root/include/lf.h
diff options
context:
space:
mode:
authorunknown <guilhem@gbichot3.local>2006-12-04 15:31:04 +0100
committerunknown <guilhem@gbichot3.local>2006-12-04 15:31:04 +0100
commit5750daa4cf73eba0a6f1d9909844bf106228ae80 (patch)
tree13053fed8650c5b25a23221b2f946be2d2e7c5f1 /include/lf.h
parentb72903fe54cf83c3dcbec7e3532e23bf946249ba (diff)
downloadmariadb-git-5750daa4cf73eba0a6f1d9909844bf106228ae80.tar.gz
Maria - post-review change of "fixes for gcc -ansi".
And reducing the time taken by my_atomic-t. include/lf.h: fix to be able to add a ";" at the end of the macro's invokation (removing it here, removes a warning from "gcc -ansi" about a standalone ";"). mysys/lf_hash.c: ";" is ok now after LF_REQUIRE_PINS mysys/mf_pagecache.c: comment fix unittest/mysys/my_atomic-t.c: decreasing number of iterations to make test take less time.
Diffstat (limited to 'include/lf.h')
-rw-r--r--include/lf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/lf.h b/include/lf.h
index ba29b6e9ca5..c161bd5044d 100644
--- a/include/lf.h
+++ b/include/lf.h
@@ -136,7 +136,7 @@ typedef struct {
#if defined(__GNUC__) && defined(MY_LF_EXTRA_DEBUG)
#define LF_REQUIRE_PINS(N) \
static const char require_pins[LF_PINBOX_PINS-N]; \
- static const int LF_NUM_PINS_IN_THIS_FILE= N;
+ static const int LF_NUM_PINS_IN_THIS_FILE= N
#define _lf_pin(PINS, PIN, ADDR) \
( \
assert(PIN < LF_NUM_PINS_IN_THIS_FILE), \