Module Name:    src
Committed By:   christos
Date:           Mon Feb 24 22:34:08 UTC 2014

Modified Files:
        src/sys/arch/emips/stand/common: enic.c prom_iface.c

Log Message:
make more things static, remove dup decls


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/emips/stand/common/enic.c \
    src/sys/arch/emips/stand/common/prom_iface.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/emips/stand/common/enic.c
diff -u src/sys/arch/emips/stand/common/enic.c:1.3 src/sys/arch/emips/stand/common/enic.c:1.4
--- src/sys/arch/emips/stand/common/enic.c:1.3	Mon Feb 24 17:31:56 2014
+++ src/sys/arch/emips/stand/common/enic.c	Mon Feb 24 17:34:08 2014
@@ -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 *, v
 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);
Index: src/sys/arch/emips/stand/common/prom_iface.c
diff -u src/sys/arch/emips/stand/common/prom_iface.c:1.3 src/sys/arch/emips/stand/common/prom_iface.c:1.4
--- src/sys/arch/emips/stand/common/prom_iface.c:1.3	Mon Feb 24 17:31:56 2014
+++ src/sys/arch/emips/stand/common/prom_iface.c	Mon Feb 24 17:34:08 2014
@@ -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();}

Reply via email to