mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-21 06:31:31 +00:00
[PATCH 4_4] Remove local implementation of isprint() in ft_build.c
isprint is already defined in ctype.c Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
This commit is contained in:
parent
c95c4280d7
commit
80ba981d94
1 changed files with 1 additions and 5 deletions
|
@ -29,6 +29,7 @@
|
|||
#include <stddef.h>
|
||||
|
||||
#include <ft_build.h>
|
||||
#include <linux/ctype.h>
|
||||
|
||||
#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;
|
||||
|
|
Loading…
Add table
Reference in a new issue