diff options
Diffstat (limited to 'wcsmbs/wcscspn.c')
-rw-r--r-- | wcsmbs/wcscspn.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/wcsmbs/wcscspn.c b/wcsmbs/wcscspn.c index d8cc24a0fd..8fce43caf7 100644 --- a/wcsmbs/wcscspn.c +++ b/wcsmbs/wcscspn.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1995-2015 Free Software Foundation, Inc. +/* Copyright (C) 1995-2016 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@gnu.ai.mit.edu>, 1995. @@ -18,13 +18,14 @@ #include <wchar.h> +#ifdef WCSCSPN +# define wcscspn WCSCSPN +#endif /* Return the length of the maximum initial segment of WCS which contains only wide-characters not in REJECT. */ size_t -wcscspn (wcs, reject) - const wchar_t *wcs; - const wchar_t *reject; +wcscspn (const wchar_t *wcs, const wchar_t *reject) { size_t count = 0; |