diff options
author | Sergei Golubchik <serg@mariadb.org> | 2015-10-23 11:31:18 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2015-10-24 19:58:34 +0200 |
commit | fb8713385f514da0b77d1212f2035a6d5678561e (patch) | |
tree | 277beced0b7a41803c94fe82dbd7c30238d51b47 /include | |
parent | 2c0bcfff8c8e32a9b70d1090ab34a5f53182ad52 (diff) | |
download | mariadb-git-fb8713385f514da0b77d1212f2035a6d5678561e.tar.gz |
remove unneded #include's that had a dubious explanation
Diffstat (limited to 'include')
-rw-r--r-- | include/decimal.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/decimal.h b/include/decimal.h index 935d341437d..2adeb824318 100644 --- a/include/decimal.h +++ b/include/decimal.h @@ -16,6 +16,10 @@ #ifndef _decimal_h #define _decimal_h +#ifdef __cplusplus +extern "C" { +#endif + typedef enum {TRUNCATE=0, HALF_EVEN, HALF_UP, CEILING, FLOOR} decimal_round_mode; @@ -112,5 +116,9 @@ void max_decimal(int precision, int frac, decimal_t *to); #define E_DEC_ERROR 31 #define E_DEC_FATAL_ERROR 30 +#ifdef __cplusplus +} +#endif + #endif |