diff options
author | Jeremy Allison <jra@samba.org> | 2001-11-04 21:10:17 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2001-11-04 21:10:17 +0000 |
commit | 59bc781854d623235149eb329fd5c3b89e10501a (patch) | |
tree | 3d6ee6857150157a4ded82935bf45000b0a2b358 /source3 | |
parent | db8ff475aca6eaed303300de24d187b9476b7c7b (diff) | |
download | samba-59bc781854d623235149eb329fd5c3b89e10501a.tar.gz samba-59bc781854d623235149eb329fd5c3b89e10501a.tar.bz2 samba-59bc781854d623235149eb329fd5c3b89e10501a.zip |
Added missing strchr_wa.
Jeremy.
(This used to be commit 16c5d279b97250ceb84ee6de6e5e801350c816c4)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/lib/util_unistr.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/lib/util_unistr.c b/source3/lib/util_unistr.c index 287472ad65..8a7253a718 100644 --- a/source3/lib/util_unistr.c +++ b/source3/lib/util_unistr.c @@ -242,6 +242,11 @@ smb_ucs2_t *strchr_w(const smb_ucs2_t *s, smb_ucs2_t c) return NULL; } +smb_ucs2_t *strchr_wa(const smb_ucs2_t *s, char c) +{ + return strchr_w(s, UCS2_CHAR(c)); +} + smb_ucs2_t *strrchr_w(const smb_ucs2_t *s, smb_ucs2_t c) { const smb_ucs2_t *p = s; |