Module Name:    othersrc
Committed By:   lukem
Date:           Mon May  5 00:20:45 UTC 2014

Modified Files:
        othersrc/usr.bin/tnftp/libnetbsd: glob.c

Log Message:
Remove __restrict qualifier.

It's not really necessary in this more "portable" code,
and a compat replacement isn't provided.

Fixes problem reported by Greg Earle.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 othersrc/usr.bin/tnftp/libnetbsd/glob.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: othersrc/usr.bin/tnftp/libnetbsd/glob.c
diff -u othersrc/usr.bin/tnftp/libnetbsd/glob.c:1.11 othersrc/usr.bin/tnftp/libnetbsd/glob.c:1.12
--- othersrc/usr.bin/tnftp/libnetbsd/glob.c:1.11	Sun May  5 13:20:16 2013
+++ othersrc/usr.bin/tnftp/libnetbsd/glob.c	Mon May  5 00:20:45 2014
@@ -1,4 +1,4 @@
-/*	$NetBSD: glob.c,v 1.11 2013/05/05 13:20:16 lukem Exp $	*/
+/*	$NetBSD: glob.c,v 1.12 2014/05/05 00:20:45 lukem Exp $	*/
 /*	from: NetBSD: glob.c,v 1.34 2013/02/21 18:17:43 christos Exp	*/
 
 /*
@@ -176,8 +176,8 @@ static void	 qprintf(const char *, Char 
 #endif
 
 int
-glob(const char * __restrict pattern, int flags, int (*errfunc)(const char *,
-    int), glob_t * __restrict pglob)
+glob(const char * pattern, int flags, int (*errfunc)(const char *,
+    int), glob_t * pglob)
 {
 	const unsigned char *patnext;
 	int c;

Reply via email to