aboutsummaryrefslogtreecommitdiff
path: root/libbb/git.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--libbb/git.h5
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 @@
1ssize_t write_in_full(int fd, const void *buf, size_t count); 1ssize_t write_in_full(int fd, const void *buf, size_t count);
2void *xcalloc(size_t nmemb, size_t size);
3ssize_t _xwrite(int fd, const void *buf, size_t len);
4ssize_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__)