diff options
Diffstat (limited to 'src/include/sys/vfs.h')
-rw-r--r-- | src/include/sys/vfs.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/include/sys/vfs.h b/src/include/sys/vfs.h index d55a44710..3b2575139 100644 --- a/src/include/sys/vfs.h +++ b/src/include/sys/vfs.h @@ -10,6 +10,12 @@ #define VFS_STRINGIFY(X) #X #define VFS_TOSTRING(X) VFS_STRINGIFY(X) +#define VFS_MODULE_DEFINE_START(f) \ + extern "C" void VFS_SYMBOL_START(void* args) \ + { \ + f(args); \ + } + #ifdef __cplusplus extern "C" { @@ -37,7 +43,6 @@ struct VfsSystemModule extern VfsSystemModule VFS_MODULES[VFS_MODULE_MAX]; extern uint64_t VFS_LAST_ADDRESS; - #ifdef __cplusplus } #endif |