projects
/
lwext4.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add #ifdef __cplusplus to all header files
[lwext4.git]
/
lwext4
/
ext4_balloc.h
diff --git
a/lwext4/ext4_balloc.h
b/lwext4/ext4_balloc.h
index 48542dafb77b0d1549fe56b176bee62640217766..c25b2598346fdb37b818a700ab943eace084bc98 100644
(file)
--- a/
lwext4/ext4_balloc.h
+++ b/
lwext4/ext4_balloc.h
@@
-42,6
+42,10
@@
#ifndef EXT4_BALLOC_H_
#define EXT4_BALLOC_H_
#ifndef EXT4_BALLOC_H_
#define EXT4_BALLOC_H_
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#include "ext4_config.h"
#include "ext4_types.h"
#include "ext4_config.h"
#include "ext4_types.h"
@@
-103,6
+107,10
@@
int ext4_balloc_alloc_block(struct ext4_inode_ref *inode_ref,
int ext4_balloc_try_alloc_block(struct ext4_inode_ref *inode_ref,
ext4_fsblk_t baddr, bool *free);
int ext4_balloc_try_alloc_block(struct ext4_inode_ref *inode_ref,
ext4_fsblk_t baddr, bool *free);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* EXT4_BALLOC_H_ */
/**
#endif /* EXT4_BALLOC_H_ */
/**