mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
Fix duplicate symbol problem
This commit is contained in:
@ -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" {
|
|||||||
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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user