Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'jc/pack'
[gitweb.git]
/
strbuf.c
diff --git
a/strbuf.c
b/strbuf.c
index 9d9d8bed915483abbc2ebb340e0881ae4e296bd4..e33d06b87c978ad7484c9d6bf972681c3d6cdeb0 100644
(file)
--- a/
strbuf.c
+++ b/
strbuf.c
@@
-1,7
+1,5
@@
-#include <stdio.h>
-#include <stdlib.h>
-#include "strbuf.h"
#include "cache.h"
+#include "strbuf.h"
void strbuf_init(struct strbuf *sb) {
sb->buf = NULL;
@@
-41,4
+39,3
@@
void read_line(struct strbuf *sb, FILE *fp, int term) {
sb->eof = 1;
strbuf_end(sb);
}
-