diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2006-04-12 17:55:51 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2006-04-12 17:55:51 +0000 |
commit | dac7ff15b7d32deeeef3d9665744fc5774c21d70 (patch) | |
tree | 0e4c34863628d79fdad0c6217f4deb0ca0a91c33 /include | |
parent | 79865bc5077cf6d17b27e9599921d4c85b1575fd (diff) | |
download | busybox-w32-dac7ff15b7d32deeeef3d9665744fc5774c21d70.tar.gz busybox-w32-dac7ff15b7d32deeeef3d9665744fc5774c21d70.tar.bz2 busybox-w32-dac7ff15b7d32deeeef3d9665744fc5774c21d70.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.
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; |