Module Name: src
Committed By: christos
Date: Sun Jan 18 17:56:09 UTC 2015
Modified Files:
src/include: stdlib.h
Log Message:
remove restrict to match with OpenBSD prototype (Kamil Rytarowski)
To generate a diff of this commit:
cvs rdiff -u -r1.111 -r1.112 src/include/stdlib.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/include/stdlib.h
diff -u src/include/stdlib.h:1.111 src/include/stdlib.h:1.112
--- src/include/stdlib.h:1.111 Fri Jan 16 13:40:16 2015
+++ src/include/stdlib.h Sun Jan 18 12:56:09 2015
@@ -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 @@ long strtol(const char * __restrict, ch
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 *);