aboutsummaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
Diffstat (limited to 'libc')
-rw-r--r--libc/include/ctype.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/libc/include/ctype.h b/libc/include/ctype.h
index 9051a75..60c98b0 100644
--- a/libc/include/ctype.h
+++ b/libc/include/ctype.h
@@ -13,12 +13,14 @@
#ifndef _CTYPE_H
#define _CTYPE_H
-int isdigit(int c);
-int isxdigit(int c);
-int isprint(int c);
-int isspace(int c);
+#include <compiler.h>
-int tolower(int c);
-int toupper(int c);
+int __attrconst isdigit(int c);
+int __attrconst isxdigit(int c);
+int __attrconst isprint(int c);
+int __attrconst isspace(int c);
+
+int __attrconst tolower(int c);
+int __attrconst toupper(int c);
#endif