summaryrefslogtreecommitdiff
path: root/refs.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@osdl.org>2005-10-13 11:03:18 -0700
committerJunio C Hamano <junkio@cox.net>2005-10-14 17:17:27 -0700
commit4546738b58a0134eef154231b07d60fc174d56e3 (patch)
tree873d8e5652c06c3891278f33546c437efc209c2d /refs.c
parentd402d5566fdf226697a386dfb9858e5d954e9b91 (diff)
downloadgit-4546738b58a0134eef154231b07d60fc174d56e3.tar.gz
Unlocalized isspace and friends
Do our own ctype.h, just to get the sane semantics: we want locale-independence, _and_ we want the right signed behaviour. Plus we only use a very small subset of ctype.h anyway (isspace, isalpha, isdigit and isalnum). Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'refs.c')
-rw-r--r--refs.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/refs.c b/refs.c
index 5a8cbd4ef3..42240d2769 100644
--- a/refs.c
+++ b/refs.c
@@ -2,7 +2,6 @@
#include "cache.h"
#include <errno.h>
-#include <ctype.h>
/* We allow "recursive" symbolic refs. Only within reason, though */
#define MAXDEPTH 5