From 780af2d5b6460001647bd77409713100748a98f8 Mon Sep 17 00:00:00 2001 From: Maschell Date: Fri, 16 Sep 2022 21:03:28 +0200 Subject: [PATCH] Make header C compatible --- include/content_redirection/redirection.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/include/content_redirection/redirection.h b/include/content_redirection/redirection.h index f0ae2d0..78211fd 100644 --- a/include/content_redirection/redirection.h +++ b/include/content_redirection/redirection.h @@ -7,9 +7,7 @@ extern "C" { #endif -#include - -enum FSLayerType { +typedef enum FSLayerType { /* Redirects the /vol/content to a given path. * Existing files in /vol/content will be ignored, only files of the layer (provided via the replacementDir) will be used. */ @@ -34,7 +32,7 @@ enum FSLayerType { * Existing files in /vol/save will be ignored, only files in the layer (provided via the replacementDir) will be used. */ FS_LAYER_TYPE_SAVE_REPLACE, -}; +} FSLayerType; typedef enum ContentRedirectionStatus { CONTENT_REDIRECTION_RESULT_SUCCESS = 0,