Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Mar 2009 15:45:34 +0000 (UTC)
From:      David Schultz <das@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r189365 - head/include
Message-ID:  <200903041545.n24FjYP3046465@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903041545.n24FjYP3046465>