summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorunknown <monty@donna.mysql.com>2000-12-24 16:00:46 +0200
committerunknown <monty@donna.mysql.com>2000-12-24 16:00:46 +0200
commit740f328ebb70794c6e65bc7d19b325454d200558 (patch)
tree43093f81673d626b1b7d688253f49f06240d168c /include
parent967c1b04c0cfedbb618083ac0874602fd67ed954 (diff)
downloadmariadb-git-740f328ebb70794c6e65bc7d19b325454d200558.tar.gz
Fix duplicate symbol problem
Diffstat (limited to 'include')
-rw-r--r--include/raid.h11
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
}