diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2009-05-10 20:10:13 +1000 |
---|---|---|
committer | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2009-05-10 20:10:13 +1000 |
commit | d2a9ddeb6cc58284996fbc5367877c99fee8914e (patch) | |
tree | 187cadb382d0336bbc529cc7ca9e3d1ccd680213 /libbb/git.h | |
parent | 1fa419fb3c7ef91e878398bb0388854d27d7bd8f (diff) | |
download | busybox-w32-old.tar.gz busybox-w32-old.tar.bz2 busybox-w32-old.zip |
general warning cleanupold
Diffstat (limited to 'libbb/git.h')
-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__) | ||