Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/sgimips/sgimips Expose atoi(). From Rafal K. Boni.



details:   https://anonhg.NetBSD.org/src/rev/d8400e162d61
branches:  trunk
changeset: 509721:d8400e162d61
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Fri May 11 04:47:55 2001 +0000

description:
Expose atoi().  From Rafal K. Boni.

diffstat:

 sys/arch/sgimips/sgimips/mainbus.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 372e9bfbb382 -r d8400e162d61 sys/arch/sgimips/sgimips/mainbus.c
--- a/sys/arch/sgimips/sgimips/mainbus.c        Fri May 11 04:47:55 2001 +0000
+++ b/sys/arch/sgimips/sgimips/mainbus.c        Fri May 11 04:47:55 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mainbus.c,v 1.1 2000/06/14 16:02:47 soren Exp $        */
+/*     $NetBSD: mainbus.c,v 1.2 2001/05/11 04:47:56 thorpej Exp $      */
 
 /*
  * Copyright (c) 2000 Soren S. Jorvang
@@ -48,7 +48,7 @@
 static int     mainbus_search(struct device *, struct cfdata *, void *);
 int            mainbus_print(void *, const char *);
 
-static int     atoi(char *);
+int            atoi(char *);
 
 struct cfattach mainbus_ca = {
        sizeof(struct device), mainbus_match, mainbus_attach
@@ -92,7 +92,7 @@
 
        if (ma->ma_arch <= 0)
                panic("invalid architecture");
-       
+
        config_search(mainbus_search, self, ma);
 }
 



Home | Main Index | Thread Index | Old Index