X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/3dacb9003cc59617874784ae41751236aff57a10..94187a80bd60baab4b9c4b949ad820d730578123:/sbr/getline.c diff --git a/sbr/getline.c b/sbr/getline.c index 7e3e7978..d4da460d 100644 --- a/sbr/getline.c +++ b/sbr/getline.c @@ -1,5 +1,4 @@ -/* - * getline.c -- replacement getline() implementation +/* getline.c -- replacement getline() implementation * * This code is Copyright (c) 2016, by the authors of nmh. See the * COPYRIGHT file in the root directory of the nmh distribution for @@ -10,13 +9,8 @@ #include #include #include -#ifdef HAVE_STDBOOL_H -# include -#else /* ! HAVE_STDBOOL_H */ -# define bool int -# define true 1 -# define false 0 -#endif /* ! HAVE_STDBOOL_H */ + +#include /* Largest possible size of buffer that allows SSIZE_MAX to be returned * to indicate SSIZE_MAX - 1 characters read before the '\n'. The