From 3117628f3c06ca2be91dee0265ee231931df861c Mon Sep 17 00:00:00 2001 From: cgd Date: Sun, 4 Jul 1993 02:27:14 +0000 Subject: [PATCH] strcmp's args are supposed to be "const"... --- sys/arch/hp300/hp300/autoconf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/arch/hp300/hp300/autoconf.c b/sys/arch/hp300/hp300/autoconf.c index bba1dd133d90..05db037e3dcb 100644 --- a/sys/arch/hp300/hp300/autoconf.c +++ b/sys/arch/hp300/hp300/autoconf.c @@ -38,7 +38,7 @@ * from: Utah $Hdr: autoconf.c 1.31 91/01/21$ * * from: @(#)autoconf.c 7.5 (Berkeley) 5/7/91 - * $Id: autoconf.c,v 1.2 1993/05/22 07:57:10 cgd Exp $ + * $Id: autoconf.c,v 1.3 1993/07/04 02:27:14 cgd Exp $ */ /* @@ -1067,7 +1067,7 @@ setroot() } strcmp(s1, s2) - register char *s1, *s2; + const register char *s1, *s2; { while (*s1 == *s2++) if (*s1++=='\0')