Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/lib/libsa libkern.h now has the ctype routines.
details: https://anonhg.NetBSD.org/src/rev/6d2e4f791e38
branches: trunk
changeset: 508042:6d2e4f791e38
user: thorpej <thorpej%NetBSD.org@localhost>
date: Thu Apr 05 04:39:02 2001 +0000
description:
libkern.h now has the ctype routines.
diffstat:
sys/lib/libsa/cd9660.c | 10 +---------
sys/lib/libsa/stand.h | 7 +------
2 files changed, 2 insertions(+), 15 deletions(-)
diffs (49 lines):
diff -r def6bb26ddc8 -r 6d2e4f791e38 sys/lib/libsa/cd9660.c
--- a/sys/lib/libsa/cd9660.c Thu Apr 05 04:38:33 2001 +0000
+++ b/sys/lib/libsa/cd9660.c Thu Apr 05 04:39:02 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cd9660.c,v 1.11 1999/11/23 12:20:53 simonb Exp $ */
+/* $NetBSD: cd9660.c,v 1.12 2001/04/05 04:39:02 thorpej Exp $ */
/*
* Copyright (C) 1996 Wolfgang Solfrank.
@@ -73,18 +73,10 @@
#define cdb2devb(bno) ((bno) * ISO_DEFAULT_BLOCK_SIZE / DEV_BSIZE)
-static int toupper __P((int));
static int pnmatch __P((char *, struct ptable_ent *));
static int dirmatch __P((char *, struct iso_directory_record *));
static int
-toupper(c)
- int c;
-{
- return c >= 'a' && c <= 'z' ? c - 'a' + 'A' : c;
-}
-
-static int
pnmatch(path, pp)
char *path;
struct ptable_ent *pp;
diff -r def6bb26ddc8 -r 6d2e4f791e38 sys/lib/libsa/stand.h
--- a/sys/lib/libsa/stand.h Thu Apr 05 04:38:33 2001 +0000
+++ b/sys/lib/libsa/stand.h Thu Apr 05 04:39:02 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: stand.h,v 1.41 2000/10/21 13:48:06 takemura Exp $ */
+/* $NetBSD: stand.h,v 1.42 2001/04/05 04:39:02 thorpej Exp $ */
/*
* Copyright (c) 1999 Christopher G. Demetriou. All rights reserved.
@@ -208,11 +208,6 @@
#endif
#define F_NODEV 0x0008 /* network open - no device */
-#define isupper(c) ((c) >= 'A' && (c) <= 'Z')
-#define tolower(c) ((c) - 'A' + 'a')
-#define isspace(c) ((c) == ' ' || (c) == '\t')
-#define isdigit(c) ((c) >= '0' && (c) <= '9')
-
int devopen __P((struct open_file *, const char *, char **));
#ifdef HEAP_VARIABLE
void setheap __P((void *, void *));
Home |
Main Index |
Thread Index |
Old Index