Source-Changes-HG archive

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

[src/trunk]: src/lib/librt Add restrict qualifiers to function arguments (alr...



details:   https://anonhg.NetBSD.org/src/rev/5b32b13c9760
branches:  trunk
changeset: 579701:5b32b13c9760
user:      kleink <kleink%NetBSD.org@localhost>
date:      Mon Mar 21 21:55:08 2005 +0000

description:
Add restrict qualifiers to function arguments (already in <semaphore.h>).

diffstat:

 lib/librt/sem_getvalue.3 |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r e8393865baa6 -r 5b32b13c9760 lib/librt/sem_getvalue.3
--- a/lib/librt/sem_getvalue.3  Mon Mar 21 20:53:07 2005 +0000
+++ b/lib/librt/sem_getvalue.3  Mon Mar 21 21:55:08 2005 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: sem_getvalue.3,v 1.1 2003/01/24 01:52:44 thorpej Exp $
+.\" $NetBSD: sem_getvalue.3,v 1.2 2005/03/21 21:55:08 kleink Exp $
 .\"
 .\" Copyright (C) 2000 Jason Evans <jasone%FreeBSD.org@localhost>.
 .\" All rights reserved.
@@ -38,7 +38,7 @@
 .Sh SYNOPSIS
 .In semaphore.h
 .Ft int
-.Fn sem_getvalue "sem_t *sem" "int *sval"
+.Fn sem_getvalue "sem_t * restrict sem" "int * restrict sval"
 .Sh DESCRIPTION
 The
 .Fn sem_getvalue



Home | Main Index | Thread Index | Old Index