Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-3]: src/include Pull up revision 1.59 (requested by kleink in tic...
details: https://anonhg.NetBSD.org/src/rev/99bbd5db2f2a
branches: netbsd-3
changeset: 575915:99bbd5db2f2a
user: tron <tron%NetBSD.org@localhost>
date: Sat May 28 13:39:25 2005 +0000
description:
Pull up revision 1.59 (requested by kleink in ticket #344):
Add restrict qualifiers to fopen()/freopen() arguments.
diffstat:
include/stdio.h | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (25 lines):
diff -r a799af729a48 -r 99bbd5db2f2a include/stdio.h
--- a/include/stdio.h Sat May 28 13:36:29 2005 +0000
+++ b/include/stdio.h Sat May 28 13:39:25 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: stdio.h,v 1.58 2005/02/09 21:35:46 kleink Exp $ */
+/* $NetBSD: stdio.h,v 1.58.2.1 2005/05/28 13:39:25 tron Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -221,12 +221,13 @@
int fgetc(FILE *);
int fgetpos(FILE * __restrict, fpos_t * __restrict);
char *fgets(char * __restrict, int, FILE * __restrict);
-FILE *fopen(const char *, const char *);
+FILE *fopen(const char * __restrict , const char * __restrict);
int fprintf(FILE * __restrict , const char * __restrict, ...);
int fputc(int, FILE *);
int fputs(const char * __restrict, FILE * __restrict);
size_t fread(void * __restrict, size_t, size_t, FILE * __restrict);
-FILE *freopen(const char *, const char *, FILE * __restrict);
+FILE *freopen(const char * __restrict, const char * __restrict,
+ FILE * __restrict);
int fscanf(FILE * __restrict, const char * __restrict, ...);
int fseek(FILE *, long, int);
int fsetpos(FILE *, const fpos_t *);
Home |
Main Index |
Thread Index |
Old Index