summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorunknown <serg@janus.mylan>2008-02-05 14:19:53 +0100
committerunknown <serg@janus.mylan>2008-02-05 14:19:53 +0100
commit7e54b96791b7233896f73d05e79146a1c612bc9b (patch)
tree4a7df64c2b741a5c2cff9da54160f0163d733232 /include
parentcd6a090a78882ba1f5262ea79c8020740c2ad5d1 (diff)
downloadmariadb-git-7e54b96791b7233896f73d05e79146a1c612bc9b.tar.gz
cleanup
dbug/dbug.c: dbug naming conventions include/my_dbug.h: unused function
Diffstat (limited to 'include')
-rw-r--r--include/my_dbug.h1
-rw-r--r--include/my_sys.h2
2 files changed, 1 insertions, 2 deletions
diff --git a/include/my_dbug.h b/include/my_dbug.h
index 6a9cedc6650..bce22668eed 100644
--- a/include/my_dbug.h
+++ b/include/my_dbug.h
@@ -52,7 +52,6 @@ extern void _db_end_(void);
extern void _db_lock_file_(void);
extern void _db_unlock_file_(void);
extern FILE *_db_fp_(void);
-extern void _db_force_flush();
#define DBUG_ENTER(a) struct _db_stack_frame_ _db_stack_frame_; \
_db_enter_ (a,__FILE__,__LINE__,&_db_stack_frame_)
diff --git a/include/my_sys.h b/include/my_sys.h
index 5f39fd1098f..363f3a12e64 100644
--- a/include/my_sys.h
+++ b/include/my_sys.h
@@ -871,7 +871,7 @@ extern ha_checksum my_checksum(ha_checksum crc, const uchar *mem,
#ifndef DBUG_OFF
extern void my_debug_put_break_here(void);
#else
-#define my_debug_put_break_here() {}
+#define my_debug_put_break_here() do {} while(0)
#endif
extern void my_sleep(ulong m_seconds);