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 Add missing prototypes



details:   https://anonhg.NetBSD.org/src/rev/261dcd7c6d40
branches:  trunk
changeset: 793706:261dcd7c6d40
user:      martin <martin%NetBSD.org@localhost>
date:      Mon Feb 24 07:50:22 2014 +0000

description:
Add missing prototypes

diffstat:

 sys/arch/emips/stand/common/prom_iface.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (23 lines):

diff -r 57a5d5c399f7 -r 261dcd7c6d40 sys/arch/emips/stand/common/prom_iface.c
--- a/sys/arch/emips/stand/common/prom_iface.c  Mon Feb 24 07:46:33 2014 +0000
+++ b/sys/arch/emips/stand/common/prom_iface.c  Mon Feb 24 07:50:22 2014 +0000
@@ -58,7 +58,9 @@
 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);
 
 void *nope(void) {return NULL;}
 int getchar(void){return GetChar();}
@@ -247,7 +249,7 @@
     /* Make sure we know */
  DoneFirst:
     if ((First == NULL) || (Ours == NULL)) {
-        printf("Bad memory layout (%x,%x), wont work.\n", First, Ours);
+        printf("Bad memory layout (%p,%p), wont work.\n", First, Ours);
         return 0;
     }
 



Home | Main Index | Thread Index | Old Index