From 8b97b8d50e69c6f1726d201e4b03177d9aaef675 Mon Sep 17 00:00:00 2001 From: Will Sowerbutts Date: Mon, 23 Mar 2015 19:10:30 +0000 Subject: [PATCH] Library: minor ctype build fixes --- Library/include/ctype.h | 1 + Library/libs/Makefile | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Library/include/ctype.h b/Library/include/ctype.h index c8081dd9..beae6d79 100644 --- a/Library/include/ctype.h +++ b/Library/include/ctype.h @@ -16,6 +16,7 @@ extern int iscntrl(int c); extern int isdigit(int c); extern int isgraph(int c); extern int islower(int c); +extern int isprint(int c); extern int ispunct(int c); extern int isspace(int c); extern int isupper(int c); diff --git a/Library/libs/Makefile b/Library/libs/Makefile index c071c317..8fb1a704 100644 --- a/Library/libs/Makefile +++ b/Library/libs/Makefile @@ -3,7 +3,7 @@ ASM = sdasz80 AR = sdar LINKER = sdldz80 # This gets set for 'awkward' devices like ZX128 -PLATFORM = -zx128 +#PLATFORM = -zx128 #PLATFORM = export PLATFORM #CC_OPT = -mz80 -c --opt-code-size --std-c99 --max-allocs-per-node 2000000 -I../include @@ -44,7 +44,7 @@ SRC_C += gethostname.c sysconf.c confstr.c memccpy.c getpass.c # ctype SRC_C += isalnum.c isalpha.c isascii.c isblank.c iscntrl.c isdigit.c SRC_C += isgraph.c islower.c isprint.c ispunct.c isspace.c isupper.c -SRC_C += isxdigit.c +SRC_C += isxdigit.c toupper.c tolower.c # tty layer SRC_C += tcgetattr.c tcsetattr.c tcdrain.c tcflow.c tcflush.c SRC_C += cfmakeraw.c cfspeed.c revoke.c -- 2.34.1