Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/mac68k/mac68k toupper() exists in libkern now.



details:   https://anonhg.NetBSD.org/src/rev/01390fcba278
branches:  trunk
changeset: 508723:01390fcba278
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Wed Apr 18 15:39:34 2001 +0000

description:
toupper() exists in libkern now.

diffstat:

 sys/arch/mac68k/mac68k/machdep.c |  15 +--------------
 1 files changed, 1 insertions(+), 14 deletions(-)

diffs (29 lines):

diff -r 2ea705266ae7 -r 01390fcba278 sys/arch/mac68k/mac68k/machdep.c
--- a/sys/arch/mac68k/mac68k/machdep.c  Wed Apr 18 15:09:47 2001 +0000
+++ b/sys/arch/mac68k/mac68k/machdep.c  Wed Apr 18 15:39:34 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.c,v 1.260 2001/03/15 06:10:41 chs Exp $        */
+/*     $NetBSD: machdep.c,v 1.261 2001/04/18 15:39:34 thorpej Exp $    */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -1155,19 +1155,6 @@
        mrg_ADBIntrPtr = (caddr_t)getenv("ADBINTERRUPT");
 }
 
-static char    toupper __P((char));
-
-static char
-toupper(c)
-       char c;
-{
-       if (c >= 'a' && c <= 'z') {
-               return c - 'a' + 'A';
-       } else {
-               return c;
-       }
-}
-
 static long
 getenv(str)
        char   *str;



Home | Main Index | Thread Index | Old Index