Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
git: Try a bit harder not to lose errno in stdio
[gitweb.git]
/
builtin-stripspace.c
diff --git
a/builtin-stripspace.c
b/builtin-stripspace.c
index 09cc9108cdaf2aa20dc10788bccd2fee0ae9b02a..62bd4b547b8c7efaa982cef61edf365466089eb6 100644
(file)
--- a/
builtin-stripspace.c
+++ b/
builtin-stripspace.c
@@
-1,6
+1,3
@@
-#include <stdio.h>
-#include <string.h>
-#include <ctype.h>
#include "builtin.h"
/*
@@
-29,7
+26,7
@@
static int cleanup(char *line)
return 1;
}
-void stripspace(FILE *in, FILE *out)
+
static
void stripspace(FILE *in, FILE *out)
{
int empties = -1;
int incomplete = 0;