summaryrefslogtreecommitdiff
path: root/patch-id.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 /patch-id.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 'patch-id.c')
-rw-r--r--patch-id.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/patch-id.c b/patch-id.c
index 960e7cedf9..edbc4aa3e8 100644
--- a/patch-id.c
+++ b/patch-id.c
@@ -1,4 +1,3 @@
-#include <ctype.h>
#include "cache.h"
static void flush_current_id(int patchlen, unsigned char *id, SHA_CTX *c)