diff options
Diffstat (limited to '')
-rw-r--r-- | libbb/git.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libbb/git.h b/libbb/git.h index 3274af34d..07ef93bf4 100644 --- a/libbb/git.h +++ b/libbb/git.h | |||
@@ -1,4 +1,7 @@ | |||
1 | ssize_t write_in_full(int fd, const void *buf, size_t count); | 1 | ssize_t write_in_full(int fd, const void *buf, size_t count); |
2 | void *xcalloc(size_t nmemb, size_t size); | ||
3 | ssize_t _xwrite(int fd, const void *buf, size_t len); | ||
4 | ssize_t _xread(int fd, void *buf, size_t len); | ||
2 | 5 | ||
3 | #define alloc_nr(x) (((x)+16)*3/2) | 6 | #define alloc_nr(x) (((x)+16)*3/2) |
4 | 7 | ||
@@ -19,3 +22,5 @@ static inline int is_absolute_path(const char *path) | |||
19 | } | 22 | } |
20 | 23 | ||
21 | #define NORETURN ATTRIBUTE_NORETURN | 24 | #define NORETURN ATTRIBUTE_NORETURN |
25 | #define die bb_error_msg_and_die | ||
26 | #define error(...) fprintf(stderr, __VA_ARGS__) | ||