projects
/
yaffs2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
yaffs direct: Fix up some code formatting.
[yaffs2.git]
/
direct
/
yaffsfs.h
diff --git
a/direct/yaffsfs.h
b/direct/yaffsfs.h
index 3196f0c6a691b3b17f2d652e075971329ac1d977..ba3f87fb256001a3b240c80f8c33ced4e9b1bfd0 100644
(file)
--- a/
direct/yaffsfs.h
+++ b/
direct/yaffsfs.h
@@
-34,6
+34,12
@@
( (sizeof(Y_LOFF_T) < 8) ? YAFFS_MAX_FILE_SIZE_32 : (0x800000000LL - 1) )
( (sizeof(Y_LOFF_T) < 8) ? YAFFS_MAX_FILE_SIZE_32 : (0x800000000LL - 1) )
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+
struct yaffs_dirent {
long d_ino; /* inode number */
off_t d_off; /* offset to this dirent */
struct yaffs_dirent {
long d_ino; /* inode number */
off_t d_off; /* offset to this dirent */
@@
-207,4
+213,11
@@
int yaffs_set_error(int error);
/* Trace control functions */
unsigned yaffs_set_trace(unsigned tm);
unsigned yaffs_get_trace(void);
/* Trace control functions */
unsigned yaffs_set_trace(unsigned tm);
unsigned yaffs_get_trace(void);
+
+
+#ifdef __cplusplus
+}
+#endif
+
+
#endif
#endif