mirror of
https://github.com/git/git.git
synced 2024-11-18 03:14:02 +01: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 */
|