ANSIfy, KNF

This commit is contained in:
tsutsui 2006-04-05 15:14:10 +00:00
parent a7c19b0c1a
commit 194935a114
1 changed files with 7 additions and 13 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: gt.c,v 1.14 2005/12/11 12:17:06 christos Exp $ */
/* $NetBSD: gt.c,v 1.15 2006/04/05 15:14:10 tsutsui Exp $ */
/*
* Copyright (c) 2000 Soren S. Jorvang. All rights reserved.
@ -26,7 +26,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: gt.c,v 1.14 2005/12/11 12:17:06 christos Exp $");
__KERNEL_RCSID(0, "$NetBSD: gt.c,v 1.15 2006/04/05 15:14:10 tsutsui Exp $");
#include "opt_pci.h"
#include "pci.h"
@ -80,21 +80,16 @@ CFATTACH_DECL(gt, sizeof(struct gt_softc),
gt_match, gt_attach, NULL, NULL);
static int
gt_match(parent, match, aux)
struct device *parent;
struct cfdata *match;
void *aux;
gt_match(struct device *parent, struct cfdata *match, void *aux)
{
return 1;
}
#define GT_REG_REGION 0x1000
static void
gt_attach(parent, self, aux)
struct device *parent;
struct device *self;
void *aux;
gt_attach(struct device *parent, struct device *self, void *aux)
{
struct mainbus_attach_args *ma = aux;
struct gt_softc *sc = (void *)self;
@ -143,10 +138,9 @@ gt_attach(parent, self, aux)
}
static int
gt_print(aux, pnp)
void *aux;
const char *pnp;
gt_print(void *aux, const char *pnp)
{
/* XXX */
return 0;
}