mirror of
https://github.com/git/git.git
synced 2024-11-27 20:14:30 +08:00
bf0f910d1d
- 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>
14 lines
216 B
C
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 */
|