1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-05-20 23:56:09 +02:00
git/strbuf.h
Brian Gerst bf0f910d1d [PATCH] Kill a bunch of pointer sign warnings for gcc4
- Raw hashes should be unsigned char.
 - String functions want signed char.
 - Hash and compress functions want unsigned char.

Signed-off By: Brian Gerst <bgerst@didntduck.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-05-18 08:44:23 -07:00

14 lines
216 B
C

#ifndef STRBUF_H
#define STRBUF_H
struct strbuf {
int alloc;
int len;
int eof;
char *buf;
};
extern void strbuf_init(struct strbuf *);
extern void read_line(struct strbuf *, FILE *, int);
#endif /* STRBUF_H */