Source-Changes-HG archive

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

[src/trunk]: src/include sprinkle restrict in realpath(3)



details:   https://anonhg.NetBSD.org/src/rev/9545dd4bfd02
branches:  trunk
changeset: 779832:9545dd4bfd02
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Jun 21 21:13:29 2012 +0000

description:
sprinkle restrict in realpath(3)

diffstat:

 include/stdlib.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r fcb8236ed409 -r 9545dd4bfd02 include/stdlib.h
--- a/include/stdlib.h  Thu Jun 21 21:13:07 2012 +0000
+++ b/include/stdlib.h  Thu Jun 21 21:13:29 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: stdlib.h,v 1.99 2012/06/03 21:42:46 joerg Exp $        */
+/*     $NetBSD: stdlib.h,v 1.100 2012/06/21 21:13:29 christos Exp $    */
 
 /*-
  * Copyright (c) 1990, 1993
@@ -192,7 +192,7 @@
 
 int     setkey(const char *);
 
-char   *realpath(const char *, char *);
+char   *realpath(const char * __restrict, char * __restrict);
 
 int     ttyslot(void);
 



Home | Main Index | Thread Index | Old Index