Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/emips/stand/common make more things static, remove ...
details: https://anonhg.NetBSD.org/src/rev/2dbba280fe2b
branches: trunk
changeset: 326985:2dbba280fe2b
user: christos <christos%NetBSD.org@localhost>
date: Mon Feb 24 22:34:08 2014 +0000
description:
make more things static, remove dup decls
diffstat:
sys/arch/emips/stand/common/enic.c | 5 +----
sys/arch/emips/stand/common/prom_iface.c | 3 ---
2 files changed, 1 insertions(+), 7 deletions(-)
diffs (39 lines):
diff -r 5156c38cc81c -r 2dbba280fe2b sys/arch/emips/stand/common/enic.c
--- a/sys/arch/emips/stand/common/enic.c Mon Feb 24 22:31:56 2014 +0000
+++ b/sys/arch/emips/stand/common/enic.c Mon Feb 24 22:34:08 2014 +0000
@@ -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 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);
diff -r 5156c38cc81c -r 2dbba280fe2b sys/arch/emips/stand/common/prom_iface.c
--- a/sys/arch/emips/stand/common/prom_iface.c Mon Feb 24 22:31:56 2014 +0000
+++ b/sys/arch/emips/stand/common/prom_iface.c Mon Feb 24 22:34:08 2014 +0000
@@ -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();}
Home |
Main Index |
Thread Index |
Old Index