aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-09-13 13:54:30 +0900
committernsfisis <nsfisis@gmail.com>2025-09-13 13:54:34 +0900
commit3455cf8da6085319fcf1b1159cc5faaf54393a26 (patch)
treef53fbab4d27262ddaa7e019cc4eafac169b4ea52
parente30c73d8b3292d42cf6d1f278965c0becb41e909 (diff)
downloadducc-3455cf8da6085319fcf1b1159cc5faaf54393a26.tar.gz
ducc-3455cf8da6085319fcf1b1159cc5faaf54393a26.tar.zst
ducc-3455cf8da6085319fcf1b1159cc5faaf54393a26.zip
feat: include <ctype.h>
-rw-r--r--src/preprocess.c1
-rw-r--r--src/std.h5
2 files changed, 1 insertions, 5 deletions
diff --git a/src/preprocess.c b/src/preprocess.c
index 3965949..832bb5e 100644
--- a/src/preprocess.c
+++ b/src/preprocess.c
@@ -1,4 +1,5 @@
#include "preprocess.h"
+#include <ctype.h>
#include <stdio.h>
#include "common.h"
#include "parse.h"
diff --git a/src/std.h b/src/std.h
index 5f31191..a4fe905 100644
--- a/src/std.h
+++ b/src/std.h
@@ -6,11 +6,6 @@
int atoi(const char*);
void* calloc(size_t, size_t);
void exit(int);
-int getchar();
-int isalnum(int);
-int isalpha(int);
-int isdigit(int);
-int isspace(int);
void* memcpy(void*, const void*, size_t);
void* memmove(void*, const void*, size_t);
void* memset(void*, int, size_t);