diff options
Diffstat (limited to 'lib/falloc.h')
-rw-r--r-- | lib/falloc.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/falloc.h b/lib/falloc.h index 99c8d176b..46155ca12 100644 --- a/lib/falloc.h +++ b/lib/falloc.h @@ -17,6 +17,10 @@ struct FaPlace_s; typedef struct FaPlace * faPlace; #endif +#ifdef __cplusplus +extern "C" { +#endif + /* flags here is the same as for open(2) - NULL returned on error */ faFile faOpen(char * path, int flags, int perms); unsigned int faAlloc(faFile fa, unsigned int size); /* returns 0 on failure */ @@ -30,4 +34,8 @@ int faFcntl(faFile fa, int op, void *lip); int faFirstOffset(faFile fa); int faNextOffset(faFile fa, unsigned int lastOffset); /* 0 at end */ +#ifdef __cplusplus +} +#endif + #endif /* H_FALLOC */ |