From 167217bec15c9c7aa70ba2a3dc9c689b3cd91872 Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Mon, 14 May 2001 14:19:32 +0000 Subject: import new version of dietlibc --- mdk-stage1/dietlibc/include/ctype.h | 27 +++++++++++++++++++++------ 1 file changed, 21 insertions(+), 6 deletions(-) (limited to 'mdk-stage1/dietlibc/include/ctype.h') diff --git a/mdk-stage1/dietlibc/include/ctype.h b/mdk-stage1/dietlibc/include/ctype.h index c8f4e5a34..9322e8c7b 100644 --- a/mdk-stage1/dietlibc/include/ctype.h +++ b/mdk-stage1/dietlibc/include/ctype.h @@ -3,11 +3,26 @@ #include -extern int isascii (int c) __THROW; -extern int isblank (int c) __THROW; -extern int isalnum (int c) __THROW; -extern int isalpha (int c) __THROW; -extern int isdigit (int c) __THROW; -extern int isspace (int c) __THROW; +extern int isascii (int c) __THROW __attribute__ ((__const__)); +extern int isblank (int c) __THROW __attribute__ ((__const__)); +extern int isalnum (int c) __THROW __attribute__ ((__const__)); +extern int isalpha (int c) __THROW __attribute__ ((__const__)); +extern int isdigit (int c) __THROW __attribute__ ((__const__)); +extern int isspace (int c) __THROW __attribute__ ((__const__)); + +extern int isupper (int c) __THROW __attribute__ ((__const__)); +extern int islower (int c) __THROW __attribute__ ((__const__)); + +extern int tolower(int c) __THROW __attribute__ ((__const__)); +extern int toupper(int c) __THROW __attribute__ ((__const__)); + +extern int isprint(int c) __THROW __attribute__ ((__const__)); +extern int ispunct(int c) __THROW __attribute__ ((__const__)); +extern int iscntrl(int c) __THROW __attribute__ ((__const__)); + +/* fscking GNU extensions! */ +extern int isxdigit(int c) __THROW __attribute__ ((__const__)); + +extern int isgraph(int c) __THROW __attribute__ ((__const__)); #endif -- cgit v1.2.1