diff options
author | Davi Arnaut <davi.arnaut@oracle.com> | 2010-07-23 17:18:36 -0300 |
---|---|---|
committer | Davi Arnaut <davi.arnaut@oracle.com> | 2010-07-23 17:18:36 -0300 |
commit | ecd4a294a5d0ef4f0191993352bb0c1290e3c132 (patch) | |
tree | e39190b7222d99ca43735545cd66a9090e96e4ee /mysys | |
parent | e001970cc7ca527ea7e81647d2fe4b6b5afd4478 (diff) | |
download | mariadb-git-ecd4a294a5d0ef4f0191993352bb0c1290e3c132.tar.gz |
WL#5498: Remove dead and unused source code
Remove wrappers around inline -- static inline is used without
wrappers throughout the source code. We rely on the compiler or
linker to eliminate unused static functions.
Diffstat (limited to 'mysys')
-rw-r--r-- | mysys/my_atomic.c | 7 | ||||
-rw-r--r-- | mysys/my_bit.c | 7 |
2 files changed, 0 insertions, 14 deletions
diff --git a/mysys/my_atomic.c b/mysys/my_atomic.c index 6bc76f0de3c..7cbe15cfb74 100644 --- a/mysys/my_atomic.c +++ b/mysys/my_atomic.c @@ -16,13 +16,6 @@ #include <my_global.h> #include <my_sys.h> -#ifndef HAVE_INLINE -/* the following will cause all inline functions to be instantiated */ -#define HAVE_INLINE -#undef STATIC_INLINE -#define STATIC_INLINE extern -#endif - #include <my_atomic.h> /* diff --git a/mysys/my_bit.c b/mysys/my_bit.c index 2881eb1ebd2..f072f243765 100644 --- a/mysys/my_bit.c +++ b/mysys/my_bit.c @@ -15,13 +15,6 @@ #include <my_global.h> -#ifndef HAVE_INLINE -/* the following will cause all inline functions to be instantiated */ -#define HAVE_INLINE -#undef STATIC_INLINE -#define STATIC_INLINE extern -#endif - #include <my_bit.h> const char _my_bits_nbits[256] = { |