From 8c6b463904e23df6025727207d5ffd012c8dd0cb Mon Sep 17 00:00:00 2001 From: Philipp Takacs Date: Sun, 13 Dec 2015 17:20:33 +0100 Subject: [PATCH] Use boolean instand of bool --- sbr/m_getfld2.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/sbr/m_getfld2.c b/sbr/m_getfld2.c index 18ad812..45172aa 100644 --- a/sbr/m_getfld2.c +++ b/sbr/m_getfld2.c @@ -10,7 +10,6 @@ #include #include #include -#include enum threestate { @@ -24,7 +23,7 @@ enum threestate { */ static enum threestate is_falted(FILE *); static size_t copyname(char *, char *); -static bool is_separator(char *); +static boolean is_separator(char *); /* @@ -214,7 +213,7 @@ copyname(char *dst, char *src) return strlen(dst); } -static bool +static boolean is_separator(char *line) { /* @@ -225,7 +224,7 @@ is_separator(char *line) line++; } if (strcmp("\n", line) == 0 || strcmp("\r\n", line) == 0 ) { - return true; + return TRUE; } - return false; + return FALSE; } -- 1.7.10.4