Commit 75dc0953 authored by monty@donna.mysql.com's avatar monty@donna.mysql.com

Fix duplicate symbol problem

parent 6ba7c07c
...@@ -25,6 +25,14 @@ ...@@ -25,6 +25,14 @@
extern const char *raid_type_string[]; 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) #if defined(USE_RAID)
#ifdef __GNUC__ #ifdef __GNUC__
...@@ -83,9 +91,6 @@ extern "C" { ...@@ -83,9 +91,6 @@ extern "C" {
int my_raid_chsize(File fd, my_off_t newlength, myf MyFlags); int my_raid_chsize(File fd, my_off_t newlength, myf MyFlags);
int my_raid_close(File, myf MyFlags); int my_raid_close(File, myf MyFlags);
int my_raid_fstat(int Filedes, struct stat *buf, myf MyFlags); int my_raid_fstat(int Filedes, struct stat *buf, myf MyFlags);
const char *my_raid_type(int raid_type);
#ifdef __cplusplus #ifdef __cplusplus
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment