Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src Partially back out previous: don't apply restrict qualifier ...
details: https://anonhg.NetBSD.org/src/rev/4b9f74e27108
branches: trunk
changeset: 516707:4b9f74e27108
user: kleink <kleink%NetBSD.org@localhost>
date: Sun Oct 28 05:12:31 2001 +0000
description:
Partially back out previous: don't apply restrict qualifier to pointer
to function.
diffstat:
include/glob.h | 6 +++---
lib/libc/gen/glob.3 | 4 ++--
2 files changed, 5 insertions(+), 5 deletions(-)
diffs (41 lines):
diff -r 56c084026536 -r 4b9f74e27108 include/glob.h
--- a/include/glob.h Sun Oct 28 04:47:27 2001 +0000
+++ b/include/glob.h Sun Oct 28 05:12:31 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: glob.h,v 1.14 2001/10/27 15:35:19 kleink Exp $ */
+/* $NetBSD: glob.h,v 1.15 2001/10/28 05:12:31 kleink Exp $ */
/*
* Copyright (c) 1989, 1993
@@ -100,11 +100,11 @@
__BEGIN_DECLS
#ifdef __LIBC12_SOURCE__
int glob __P((const char * __restrict, int,
- int (* __restrict)(const char *, int), glob_t * __restrict));
+ int (*)(const char *, int), glob_t * __restrict));
void globfree __P((glob_t *));
#else
int glob __P((const char * __restrict, int,
- int (* __restrict)(const char *, int), glob_t * __restrict))
+ int (*)(const char *, int), glob_t * __restrict))
__RENAME(__glob13);
void globfree __P((glob_t *)) __RENAME(__globfree13);
#endif
diff -r 56c084026536 -r 4b9f74e27108 lib/libc/gen/glob.3
--- a/lib/libc/gen/glob.3 Sun Oct 28 04:47:27 2001 +0000
+++ b/lib/libc/gen/glob.3 Sun Oct 28 05:12:31 2001 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: glob.3,v 1.20 2001/10/27 15:35:19 kleink Exp $
+.\" $NetBSD: glob.3,v 1.21 2001/10/28 05:12:32 kleink Exp $
.\"
.\" Copyright (c) 1989, 1991, 1993, 1994
.\" The Regents of the University of California. All rights reserved.
@@ -47,7 +47,7 @@
.Sh SYNOPSIS
.Fd #include <glob.h>
.Ft int
-.Fn glob "const char * restrict pattern" "int flags" "const int (* restrict errfunc)(const char *, int)" "glob_t * restrict pglob"
+.Fn glob "const char * restrict pattern" "int flags" "const int (*errfunc)(const char *, int)" "glob_t * restrict pglob"
.Ft void
.Fn globfree "glob_t *pglob"
.Sh DESCRIPTION
Home |
Main Index |
Thread Index |
Old Index