From: Pedro Aguilar <paguilar@paguilar.org>
To: 19172@debbugs.gnu.org
Cc: thomas.petazzoni@free-electrons.com,
Pedro Aguilar <paguilar@paguilar.org>
Subject: bug#19172: [PATCH 1/1] Remove unused funcs that cause a building error
Date: Tue, 25 Nov 2014 00:14:32 +0100 [thread overview]
Message-ID: <1416870872-13385-1-git-send-email-paguilar@paguilar.org> (raw)
Remove unused static inline functions str_upcase_l() and
str_downcase_l() that cause the compilation error
'dereferencing pointer to incomplete type' when building
for ARM using a buildroot-generated toolchain.
Signed-off-by: Pedro Aguilar <paguilar@paguilar.org>
---
libguile/i18n.c | 20 --------------------
1 file changed, 20 deletions(-)
diff --git a/libguile/i18n.c b/libguile/i18n.c
index c6b9b84..32278bd 100644
--- a/libguile/i18n.c
+++ b/libguile/i18n.c
@@ -851,26 +851,6 @@ str_downcase (register char *dst, register const char *src)
*dst = '\0';
}
-#ifdef USE_GNU_LOCALE_API
-static inline void
-str_upcase_l (register char *dst, register const char *src,
- scm_t_locale locale)
-{
- for (; *src != '\0'; src++, dst++)
- *dst = toupper_l (*src, locale);
- *dst = '\0';
-}
-
-static inline void
-str_downcase_l (register char *dst, register const char *src,
- scm_t_locale locale)
-{
- for (; *src != '\0'; src++, dst++)
- *dst = tolower_l (*src, locale);
- *dst = '\0';
-}
-#endif
-
SCM_DEFINE (scm_string_locale_lt, "string-locale<?", 2, 1, 0,
(SCM s1, SCM s2, SCM locale),
--
1.9.1
next reply other threads:[~2014-11-24 23:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-24 23:14 Pedro Aguilar [this message]
2016-06-22 14:49 ` bug#19172: [PATCH 1/1] Remove unused funcs that cause a building error Andy Wingo
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
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1416870872-13385-1-git-send-email-paguilar@paguilar.org \
--to=paguilar@paguilar.org \
--cc=19172@debbugs.gnu.org \
--cc=thomas.petazzoni@free-electrons.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).