diff options
author | monty@donna.mysql.com <> | 2000-12-24 16:00:46 +0200 |
---|---|---|
committer | monty@donna.mysql.com <> | 2000-12-24 16:00:46 +0200 |
commit | 75dc09534bd26e4e516fbbc78f004290e154ce89 (patch) | |
tree | 43093f81673d626b1b7d688253f49f06240d168c /include | |
parent | 6ba7c07ce209bc3ce880fac4b5485bdf90541ff0 (diff) | |
download | mariadb-git-75dc09534bd26e4e516fbbc78f004290e154ce89.tar.gz |
Fix duplicate symbol problem
Diffstat (limited to 'include')
-rw-r--r-- | include/raid.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/include/raid.h b/include/raid.h index 119f2b9b3b8..68604873e66 100644 --- a/include/raid.h +++ b/include/raid.h @@ -25,6 +25,14 @@ extern const char *raid_type_string[]; +#ifdef __cplusplus +extern "C" { +#endif +const char *my_raid_type(int raid_type); +#ifdef __cplusplus +} +#endif + #if defined(USE_RAID) #ifdef __GNUC__ @@ -83,9 +91,6 @@ extern "C" { int my_raid_chsize(File fd, my_off_t newlength, myf MyFlags); int my_raid_close(File, myf MyFlags); int my_raid_fstat(int Filedes, struct stat *buf, myf MyFlags); - - const char *my_raid_type(int raid_type); - #ifdef __cplusplus } |