gcc4 fix: static devsw didn't match the prototype.

This commit is contained in:
mhitch 2006-08-04 01:50:30 +00:00
parent c97e01a899
commit 3264771d41
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: diskio.c,v 1.4 2005/12/11 12:17:00 christos Exp $ */
/* $NetBSD: diskio.c,v 1.5 2006/08/04 01:50:30 mhitch Exp $ */
/*
* Copyright (c) 1995 Waldi Ravens.
@ -42,7 +42,7 @@ static int rootopen __P((struct open_file *, ...));
static int rootclose __P((struct open_file *));
static int rootioctl __P((struct open_file *, u_long, void *));
static struct devsw devsw[] = {
struct devsw devsw[] = {
{ "root", rootstrategy, rootopen, rootclose, rootioctl }
};
static bdevd_t bootdev;