diff options
author | Kai Tietz <ktietz@redhat.com> | 2012-10-27 12:09:38 +0000 |
---|---|---|
committer | Kai Tietz <ktietz@redhat.com> | 2012-10-27 12:09:38 +0000 |
commit | f71f133bda3077c835de51e76e83f674d45297ae (patch) | |
tree | 7b25597a46498abcfc22873739e9fa9a2893bbd3 /winsup/cygwin/string.h | |
parent | 0222a24fe394e6fbeb7ee0e94df92f20738e0206 (diff) | |
download | cygnal-f71f133bda3077c835de51e76e83f674d45297ae.tar.gz cygnal-f71f133bda3077c835de51e76e83f674d45297ae.tar.bz2 cygnal-f71f133bda3077c835de51e76e83f674d45297ae.zip |
* 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.
Diffstat (limited to 'winsup/cygwin/string.h')
-rw-r--r-- | winsup/cygwin/string.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/winsup/cygwin/string.h b/winsup/cygwin/string.h index 70f6f4e45..bb0375ccb 100644 --- a/winsup/cygwin/string.h +++ b/winsup/cygwin/string.h @@ -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; |