exile.h: Add extern "C" guards

This commit is contained in:
Albert S. 2022-03-13 20:23:15 +01:00
parent 95fa11e928
commit 005851c645
1 changed files with 8 additions and 0 deletions

View File

@ -97,6 +97,11 @@
//don't mount recursive
#define EXILE_MOUNT_NOT_REC 1<<5
#ifdef __cplusplus
extern "C" {
#endif
/* Fine-granular approach available with landlock */
#if HAVE_LANDLOCK == 1
#define EXILE_FS_ALLOW_REMOVE_DIR (1 << 7)
@ -2235,3 +2240,6 @@ char *exile_launch_get(struct exile_launch_params *launch_params, size_t *n)
*n = size;
return result;
}
#ifdef __cplusplus
}
#endif