From: Philipp Takacs Date: Sun, 13 Dec 2015 16:20:33 +0000 (+0100) Subject: Use boolean instand of bool X-Git-Tag: mmh-0.3~39^2~2 X-Git-Url: http://git.marmaro.de/?a=commitdiff_plain;h=8c6b463904e23df6025727207d5ffd012c8dd0cb;p=mmh Use boolean instand of bool --- 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; }