All of lore.kernel.org
 help / color / mirror / Atom feed
From: Grant Likely <grant.likely@secretlab.ca>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [PATCH 4/4] Remove local implementation of isprint() in ft_build.c
Date: Wed, 14 Feb 2007 12:29:37 -0700	[thread overview]
Message-ID: <1171481386448-git-send-email-grant.likely@secretlab.ca> (raw)
In-Reply-To: <11714813853397-git-send-email-grant.likely@secretlab.ca>

isprint is already defined in ctype.c

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
---
 common/ft_build.c |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)

diff --git a/common/ft_build.c b/common/ft_build.c
index 980e40f..5a0575e 100644
--- a/common/ft_build.c
+++ b/common/ft_build.c
@@ -29,6 +29,7 @@ #include <asm/errno.h>
 #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;
-- 
1.4.3.rc2.g0503

  reply	other threads:[~2007-02-14 19:29 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-14 19:29 [U-Boot-Users] miscellaneous cleanup patches Grant Likely
2007-02-14 19:29 ` [U-Boot-Users] [PATCH 1/4] Merge common get_dev() routines for block devices Grant Likely
2007-02-14 19:29   ` [U-Boot-Users] [PATCH 2/4] Use config.h, not xparameters.h, for xilinx targets Grant Likely
2007-02-14 19:29     ` [U-Boot-Users] [PATCH 3/4] Move buffer print code from md command to common function Grant Likely
2007-02-14 19:29       ` Grant Likely [this message]
2007-02-14 19:52       ` [U-Boot-Users] [PATCH 3/4] Move buffer print code from md commandto " Ulf Samuelsson
2007-02-14 20:01         ` Grant Likely

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1171481386448-git-send-email-grant.likely@secretlab.ca \
    --to=grant.likely@secretlab.ca \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.