make more things static, remove dup decls

This commit is contained in:
christos 2014-02-24 22:34:08 +00:00
parent 60d0010e25
commit 4e23c8d789
2 changed files with 1 additions and 7 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: enic.c,v 1.3 2014/02/24 22:31:56 christos Exp $ */
/* $NetBSD: enic.c,v 1.4 2014/02/24 22:34:08 christos Exp $ */
/*-
* Copyright (c) 2010 The NetBSD Foundation, Inc.
@ -66,7 +66,6 @@
#include <lib/libsa/netif.h>
#include <lib/libkern/libkern.h>
#include "start.h"
#include <machine/emipsreg.h>
@ -82,8 +81,6 @@ static void enicinit (struct iodesc *, void *);
static int enicget (struct iodesc *, void *, size_t, saseconds_t);
static int enicput (struct iodesc *, void *, size_t);
static void enicend (struct netif *);
int enic_getpkt(struct _Enic *regs, void *buf, int bytes, int timeo);
int enic_present(int unit);
#ifdef NET_DEBUG
static void dump_packet(void *, int);

View File

@ -58,9 +58,6 @@
void epmc_halt(void);
void save_locore(void);
void restore_locore(void);
void *nope(void);
void real_halt(void*);
void halt(int *unused, int howto);
static void *nope(void) {return NULL;}
int getchar(void){return GetChar();}