From 3fd457414e2f33c4af26f6bb74593a33cb57e940 Mon Sep 17 00:00:00 2001 From: jdolecek Date: Thu, 31 Aug 2000 07:21:46 +0000 Subject: [PATCH] constify first arg to parseopts() --- sys/arch/i386/stand/lib/libi386.h | 4 ++-- sys/arch/i386/stand/lib/parseutils.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/arch/i386/stand/lib/libi386.h b/sys/arch/i386/stand/lib/libi386.h index 612617ca023f..32fa5a3babe6 100644 --- a/sys/arch/i386/stand/lib/libi386.h +++ b/sys/arch/i386/stand/lib/libi386.h @@ -1,4 +1,4 @@ -/* $NetBSD: libi386.h,v 1.11 2000/04/23 19:57:14 tsarna Exp $ */ +/* $NetBSD: libi386.h,v 1.12 2000/08/31 07:21:46 jdolecek Exp $ */ /* * Copyright (c) 1996 @@ -89,7 +89,7 @@ physaddr_t xmsalloc __P((int)); /* parseutils.c */ char *gettrailer __P((char*)); -int parseopts __P((char*, int*)); +int parseopts __P((const char*, int*)); int parseboot __P((char*, char**, int*)); /* menuutils.c */ diff --git a/sys/arch/i386/stand/lib/parseutils.c b/sys/arch/i386/stand/lib/parseutils.c index d177379c53d9..1106e1f07803 100644 --- a/sys/arch/i386/stand/lib/parseutils.c +++ b/sys/arch/i386/stand/lib/parseutils.c @@ -1,4 +1,4 @@ -/* $NetBSD: parseutils.c,v 1.1 1997/09/17 17:13:03 drochner Exp $ */ +/* $NetBSD: parseutils.c,v 1.2 2000/08/31 07:21:46 jdolecek Exp $ */ /* * Copyright (c) 1996, 1997 @@ -66,7 +66,7 @@ gettrailer(arg) int parseopts(opts, howto) - char *opts; + const char *opts; int *howto; { int r, tmpopt = 0;