1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-11-05 16:52:59 +01: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

13 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 */