public inbox for newlib-cvs@sourceware.org help / color / mirror / Atom feed
From: Corinna Vinschen <corinna@sourceware.org> To: newlib-cvs@sourceware.org Subject: [newlib-cygwin] Add missing declarations of str{n}casecmp_l to strings.h. Date: Tue, 23 Aug 2016 15:55:00 -0000 [thread overview] Message-ID: <20160823155552.64831.qmail@sourceware.org> (raw) https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=80e0ad1e77a9365b85ffda62aa1471e5c8768743 commit 80e0ad1e77a9365b85ffda62aa1471e5c8768743 Author: Corinna Vinschen <corinna@vinschen.de> Date: Tue Aug 23 17:40:03 2016 +0200 Add missing declarations of str{n}casecmp_l to strings.h. Per glibc, both funcs are defined as GNU visible in strings.h. Signed-off-by: Corinna Vinschen <corinna@vinschen.de> Diff: --- newlib/libc/include/strings.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/newlib/libc/include/strings.h b/newlib/libc/include/strings.h index e467467..b462d07 100644 --- a/newlib/libc/include/strings.h +++ b/newlib/libc/include/strings.h @@ -33,6 +33,11 @@ int _EXFUN(ffs,(int)); int _EXFUN(strcasecmp,(const char *, const char *)); int _EXFUN(strncasecmp,(const char *, const char *, size_t)); +#if __GNU_VISIBLE +extern int strcasecmp_l (const char *, const char *, locale_t); +extern int strncasecmp_l (const char *, const char *, size_t, locale_t); +#endif /* _GNU_VISIBLE */ + _END_STD_C #endif /* !(_STRING_H_ && __BSD_VISIBLE) */
reply other threads:[~2016-08-23 15:55 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20160823155552.64831.qmail@sourceware.org \ --to=corinna@sourceware.org \ --cc=newlib-cvs@sourceware.org \ /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: linkBe 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).