Source-Changes-HG archive

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

[src/trunk]: src/include remove restrict to match with OpenBSD prototype (Kam...



details:   https://anonhg.NetBSD.org/src/rev/38059dd4b67c
branches:  trunk
changeset: 335641:38059dd4b67c
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Jan 18 17:56:09 2015 +0000

description:
remove restrict to match with OpenBSD prototype (Kamil Rytarowski)

diffstat:

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

diffs (19 lines):

diff -r 4594d091af67 -r 38059dd4b67c include/stdlib.h
--- a/include/stdlib.h  Sun Jan 18 17:55:22 2015 +0000
+++ b/include/stdlib.h  Sun Jan 18 17:56:09 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: stdlib.h,v 1.111 2015/01/16 18:40:16 christos Exp $    */
+/*     $NetBSD: stdlib.h,v 1.112 2015/01/18 17:56:09 christos Exp $    */
 
 /*-
  * Copyright (c) 1990, 1993
@@ -124,8 +124,7 @@
 unsigned long
         strtoul(const char * __restrict, char ** __restrict, int);
 #ifdef _OPENBSD_SOURCE
-long long strtonum(const char * __restrict, long long, long long,
-    const char ** __restrict);
+long long strtonum(const char *, long long, long long, const char **);
 #endif
 int     system(const char *);
 



Home | Main Index | Thread Index | Old Index