Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/string add restrict



details:   https://anonhg.NetBSD.org/src/rev/281810dd1fcf
branches:  trunk
changeset: 754042:281810dd1fcf
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Apr 17 17:50:13 2010 +0000

description:
add restrict

diffstat:

 lib/libc/string/swab.3 |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (24 lines):

diff -r cdb2223c7cbc -r 281810dd1fcf lib/libc/string/swab.3
--- a/lib/libc/string/swab.3    Sat Apr 17 17:48:34 2010 +0000
+++ b/lib/libc/string/swab.3    Sat Apr 17 17:50:13 2010 +0000
@@ -26,9 +26,9 @@
 .\" SUCH DAMAGE.
 .\"
 .\"     from: @(#)swab.3       8.1 (Berkeley) 6/4/93
-.\"    $NetBSD: swab.3,v 1.9 2003/08/07 16:43:53 agc Exp $
+.\"    $NetBSD: swab.3,v 1.10 2010/04/17 17:50:13 christos Exp $
 .\"
-.Dd June 4, 1993
+.Dd April 17, 2010
 .Dt SWAB 3
 .Os
 .Sh NAME
@@ -39,7 +39,7 @@
 .Sh SYNOPSIS
 .In unistd.h
 .Ft void
-.Fn swab "const void *src" "void *dst" "size_t len"
+.Fn swab "const void * restrict src" "void * restrict dst" "size_t len"
 .Sh DESCRIPTION
 The function
 .Fn swab



Home | Main Index | Thread Index | Old Index