diff options
Diffstat (limited to 'src/libshared/include/shared')
-rw-r--r-- | src/libshared/include/shared/install.h | 10 | ||||
-rw-r--r-- | src/libshared/include/shared/test-tables.h | 2 |
2 files changed, 7 insertions, 5 deletions
diff --git a/src/libshared/include/shared/install.h b/src/libshared/include/shared/install.h index e056d374b6..d73dfef4ec 100644 --- a/src/libshared/include/shared/install.h +++ b/src/libshared/include/shared/install.h @@ -19,6 +19,11 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>. ***/ +typedef enum UnitFileScope UnitFileScope; +typedef enum UnitFileState UnitFileState; +typedef enum UnitFilePresetMode UnitFilePresetMode; +typedef enum UnitFileChangeType UnitFileChangeType; +typedef enum UnitFileType UnitFileType; #include <stdbool.h> #include "basic/hashmap.h" @@ -26,11 +31,6 @@ #include "basic/strv.h" #include "basic/unit-name.h" -typedef enum UnitFileChangeType UnitFileChangeType; -typedef enum UnitFilePresetMode UnitFilePresetMode; -typedef enum UnitFileScope UnitFileScope; -typedef enum UnitFileState UnitFileState; -typedef enum UnitFileType UnitFileType; typedef struct UnitFileChange UnitFileChange; typedef struct UnitFileInstallInfo UnitFileInstallInfo; typedef struct UnitFileList UnitFileList; diff --git a/src/libshared/include/shared/test-tables.h b/src/libshared/include/shared/test-tables.h index 228e510104..bf286bede5 100644 --- a/src/libshared/include/shared/test-tables.h +++ b/src/libshared/include/shared/test-tables.h @@ -20,6 +20,8 @@ #include <stdio.h> #include <stdlib.h> +#include "basic/macro.h" + typedef const char* (*lookup_t)(int); typedef int (*reverse_t)(const char*); |