From: Christian Göttsche <cgzones@xxxxxxxxxxxxxx> Signed-off-by: Christian Göttsche <cgzones@xxxxxxxxxxxxxx> --- libsemanage/src/utilities.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/libsemanage/src/utilities.c b/libsemanage/src/utilities.c index 38ac72e4..9df7b9c1 100644 --- a/libsemanage/src/utilities.c +++ b/libsemanage/src/utilities.c @@ -28,9 +28,6 @@ #include <unistd.h> #include <assert.h> -#define TRUE 1 -#define FALSE 0 - char *semanage_findval(const char *file, const char *var, const char *delim) { FILE *fd; @@ -61,10 +58,10 @@ char *semanage_findval(const char *file, const char *var, const char *delim) int semanage_is_prefix(const char *str, const char *prefix) { if (!str) { - return FALSE; + return 0; } if (!prefix) { - return TRUE; + return 1; } return strncmp(str, prefix, strlen(prefix)) == 0; -- 2.45.2