Constify parameters of matchname() to please -Wcast-qual.

This commit is contained in:
jandberg 2005-06-12 16:31:42 +00:00
parent 85a5de064c
commit 6aa5da9726
2 changed files with 5 additions and 5 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: autoconf.c,v 1.93 2004/10/23 17:07:38 thorpej Exp $ */
/* $NetBSD: autoconf.c,v 1.94 2005/06/12 16:31:42 jandberg Exp $ */
/*
* Copyright (c) 1994 Christian E. Hopps
@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.93 2004/10/23 17:07:38 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.94 2005/06/12 16:31:42 jandberg Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -138,7 +138,7 @@ simple_devprint(auxp, pnp)
int
matchname(fp, sp)
char *fp, *sp;
const char *fp, *sp;
{
int len;

View File

@ -1,4 +1,4 @@
/* $NetBSD: device.h,v 1.8 2002/04/25 09:20:28 aymeric Exp $ */
/* $NetBSD: device.h,v 1.9 2005/06/12 16:31:42 jandberg Exp $ */
/*
* Copyright (c) 1994 Christian E. Hopps
@ -40,7 +40,7 @@
void config_console(void);
int amiga_config_found(struct cfdata *, struct device *, void *, cfprint_t );
int simple_devprint(void *, const char *);
int matchname(char *, char *);
int matchname(const char *, const char *);
/*
* false when initing for the console.
*/