diff options
| author | aldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-04-12 17:55:51 +0000 |
|---|---|---|
| committer | aldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-04-12 17:55:51 +0000 |
| commit | 00657c96b9b3963230d89ccc3dc2959d034673e7 (patch) | |
| tree | 0e4c34863628d79fdad0c6217f4deb0ca0a91c33 /include | |
| parent | fa6199c4ed8fdbb6901f43a06fb22d37e6e9b9e1 (diff) | |
| download | busybox-w32-00657c96b9b3963230d89ccc3dc2959d034673e7.tar.gz busybox-w32-00657c96b9b3963230d89ccc3dc2959d034673e7.tar.bz2 busybox-w32-00657c96b9b3963230d89ccc3dc2959d034673e7.zip | |
- patch from Denis Vlasenko to add and use bb_xsocket() and to use
bb_xopen some more while at it.
Also use shorter boilerplate while at it.
git-svn-id: svn://busybox.net/trunk/busybox@14833 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'include')
| -rw-r--r-- | include/libbb.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libbb.h b/include/libbb.h index d3634f95d..c031f2841 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
| @@ -145,6 +145,7 @@ extern int bb_fclose_nonstdin(FILE *f); | |||
| 145 | extern void bb_fflush_stdout_and_exit(int retval) ATTRIBUTE_NORETURN; | 145 | extern void bb_fflush_stdout_and_exit(int retval) ATTRIBUTE_NORETURN; |
| 146 | 146 | ||
| 147 | extern void xstat(const char *filename, struct stat *buf); | 147 | extern void xstat(const char *filename, struct stat *buf); |
| 148 | extern int bb_xsocket(int domain, int type, int protocol); | ||
| 148 | 149 | ||
| 149 | #define BB_GETOPT_ERROR 0x80000000UL | 150 | #define BB_GETOPT_ERROR 0x80000000UL |
| 150 | extern const char *bb_opt_complementally; | 151 | extern const char *bb_opt_complementally; |
