From 1702bcc02bc284fb4768109b83256fe17a8fd6cb Mon Sep 17 00:00:00 2001 From: millert Date: Tue, 22 Apr 2003 18:29:09 +0000 Subject: char * in prototypes should be const; Kamo Hiroyasu --- lib/libc/stdio/fopen.3 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lib/libc') diff --git a/lib/libc/stdio/fopen.3 b/lib/libc/stdio/fopen.3 index ce2dbff7c07..728aef4a961 100644 --- a/lib/libc/stdio/fopen.3 +++ b/lib/libc/stdio/fopen.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: fopen.3,v 1.14 2003/03/06 20:48:35 jmc Exp $ +.\" $OpenBSD: fopen.3,v 1.15 2003/04/22 18:29:09 millert Exp $ .\" .\" Copyright (c) 1990, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -46,11 +46,11 @@ .Sh SYNOPSIS .Fd #include .Ft FILE * -.Fn fopen "char *path" "char *mode" +.Fn fopen "const char *path" "const char *mode" .Ft FILE * -.Fn fdopen "int fildes" "char *mode" +.Fn fdopen "int fildes" "const char *mode" .Ft FILE * -.Fn freopen "char *path" "char *mode" "FILE *stream" +.Fn freopen "const char *path" "const char *mode" "FILE *stream" .Sh DESCRIPTION The .Fn fopen -- cgit v1.2.3-59-g8ed1b