* dcrt0.cc (quoted): Renamed strechr to strchrnul.

* environ.cc (environ_init): Likewise.
        * sec_acl.cc (aclfromtext32): Likewise.
        * sec_auth.cc (extract_nt_dom_user): Likewise.
        * uinfo.cc (pwdgrp::next_str): Likewise.
        * string.h (strechr): Likewise.
This commit is contained in:
Kai Tietz
2012-10-27 12:09:38 +00:00
parent 0222a24fe3
commit f71f133bda
7 changed files with 19 additions and 10 deletions

View File

@@ -17,10 +17,10 @@ details. */
extern "C" {
#endif
#undef strechr
#define strechr cygwin_strechr
#undef strchrnul
#define strchrnul cygwin_strchrnul
static inline __stdcall char *
strechr (const char *s, int c)
strchrnul (const char *s, int c)
{
while (*s != (char) c && *s != 0)
++s;