Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Implemented manual packfile switching in fast-import.
[gitweb.git]
/
strbuf.c
diff --git
a/strbuf.c
b/strbuf.c
index 672a1e409760d33ad704cec098af3864f06a3a38..7f14b0fb59bd7e14979b002f441ae84ff5b0e9a2 100644
(file)
--- a/
strbuf.c
+++ b/
strbuf.c
@@
-1,10
+1,8
@@
-#include <stdio.h>
-#include <stdlib.h>
-#include "strbuf.h"
#include "cache.h"
+#include "strbuf.h"
void strbuf_init(struct strbuf *sb) {
- sb->buf =
0
;
+ sb->buf =
NULL
;
sb->eof = sb->alloc = sb->len = 0;
}