OSDN Git Service

ChangeLog, ext2fs.h:
authorTheodore Ts'o <tytso@mit.edu>
Fri, 19 May 2000 02:11:41 +0000 (02:11 +0000)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 19 May 2000 02:11:41 +0000 (02:11 +0000)
  ext2fs.h: Add appropriate ifdef's to support C++ compilation.

lib/ext2fs/ChangeLog
lib/ext2fs/ext2fs.h

index 4c99006..58a1333 100644 (file)
@@ -1,3 +1,7 @@
+2000-05-18  Theodore Ts'o  <tytso@valinux.com>
+
+       * ext2fs.h: Add appropriate ifdef's to support C++ compilation.
+
 2000-04-03  Theodore Ts'o  <tytso@valinux.com>
 
        * block.c: Readibility tweak in conditionals involving
index 5436ab2..7d0018d 100644 (file)
 #ifndef _EXT2FS_EXT2FS_H
 #define _EXT2FS_EXT2FS_H
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /*
  * Non-GNU C compilers won't necessarily understand inline
  */
@@ -1002,4 +1006,8 @@ _INLINE_ int ext2fs_group_of_ino(ext2_filsys fs, ino_t ino)
 #undef _INLINE_
 #endif
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* _EXT2FS_EXT2FS_H */