This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Fix declaration guard for strcasecmp()



Based on [1], I think that strcasecmp() should be declared by string.h if _BSD_VISIBLE or _POSIX_VISIBLE, the same as strncasecmp() a few lines further down.

Patch attached.

2014-10-29  Jon Turney  <jon.turney@dronecode.org.uk>

	* libc/include/string.h: Correct guard for strcasecmp().

[1] http://pubs.opengroup.org/onlinepubs/009695399/functions/strcasecmp.html

Attachment: string_h_strcasecmp.patch
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]