svn commit: r189365 - head/include

David Schultz das at FreeBSD.org
Wed Mar 4 07:45:35 PST 2009


Author: das
Date: Wed Mar  4 15:45:34 2009
New Revision: 189365
URL: http://svn.freebsd.org/changeset/base/189365

Log:
  Put the restrict qualifiers in the right place in the wcp[n]cpy prototypes.
  
  Submitted by:	Pawel Worach <pawel.worach at gmail.com>

Modified:
  head/include/wchar.h

Modified: head/include/wchar.h
==============================================================================
--- head/include/wchar.h	Wed Mar  4 13:54:10 2009	(r189364)
+++ head/include/wchar.h	Wed Mar  4 15:45:34 2009	(r189365)
@@ -213,8 +213,8 @@ int	wcwidth(wchar_t);
 #if __POSIX_VISIBLE >= 200809 || __BSD_VISIBLE
 size_t	mbsnrtowcs(wchar_t * __restrict, const char ** __restrict, size_t,
 	    size_t, mbstate_t * __restrict);
-wchar_t	*wcpcpy(wchar_t __restrict *, const wchar_t * __restrict);
-wchar_t	*wcpncpy(wchar_t __restrict *, const wchar_t * __restrict, size_t);
+wchar_t	*wcpcpy(wchar_t * __restrict, const wchar_t * __restrict);
+wchar_t	*wcpncpy(wchar_t * __restrict, const wchar_t * __restrict, size_t);
 wchar_t	*wcsdup(const wchar_t *) __malloc_like;
 int	wcscasecmp(const wchar_t *, const wchar_t *);
 int	wcsncasecmp(const wchar_t *, const wchar_t *, size_t n);


More information about the svn-src-all mailing list