libkern.h now has the ctype routines.

This commit is contained in:
thorpej 2001-04-05 04:39:02 +00:00
parent db5854a62c
commit 23a3a54650
2 changed files with 2 additions and 15 deletions

View File

@ -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,17 +73,9 @@ struct ptable_ent {
#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;

View File

@ -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 @@ extern struct open_file files[];
#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 *));