From: Grant Likely Date: Tue, 20 Feb 2007 08:05:07 +0000 (+0100) Subject: [PATCH 4_4] Remove local implementation of isprint() in ft_build.c X-Git-Tag: v1.3.0-rc1~164^2~5 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=80ba981d940471fe7e539e64fa3d2bd80002beda;p=u-boot [PATCH 4_4] Remove local implementation of isprint() in ft_build.c isprint is already defined in ctype.c Signed-off-by: Grant Likely --- diff --git a/common/ft_build.c b/common/ft_build.c index 980e40f55d..5a0575e89a 100644 --- a/common/ft_build.c +++ b/common/ft_build.c @@ -29,6 +29,7 @@ #include #include +#include #undef DEBUG @@ -180,11 +181,6 @@ void ft_finalize_tree(struct ft_cxt *cxt) { bph->dt_strings_size = cxt->p_end - cxt->p; } -static inline int isprint(int c) -{ - return c >= 0x20 && c <= 0x7e; -} - static int is_printable_string(const void *data, int len) { const char *s = data;