From e14697d8f2fa3d998f3428ccdce7b43de1918cd6 Mon Sep 17 00:00:00 2001 From: mycroft Date: Thu, 2 Dec 1993 04:45:32 +0000 Subject: Add `const's to sys_errlist decl to match 4.4. --- include/stdio.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/stdio.h b/include/stdio.h index 9413ff987f2..6d42c13d10d 100644 --- a/include/stdio.h +++ b/include/stdio.h @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * from: @(#)stdio.h 5.17 (Berkeley) 6/3/91 - * $Id: stdio.h,v 1.8 1993/12/01 23:59:29 jtc Exp $ + * $Id: stdio.h,v 1.9 1993/12/02 04:45:32 mycroft Exp $ */ #ifndef _STDIO_H_ @@ -218,7 +218,7 @@ int getchar __P((void)); char *gets __P((char *)); #if !defined(_ANSI_SOURCE) && !defined(_POSIX_SOURCE) extern int sys_nerr; /* perror(3) external variables */ -extern char *sys_errlist[]; +extern const char *const sys_errlist[]; #endif void perror __P((const char *)); int printf __P((const char *, ...)); -- cgit