aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-04-12 17:55:51 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-04-12 17:55:51 +0000
commitdac7ff15b7d32deeeef3d9665744fc5774c21d70 (patch)
tree0e4c34863628d79fdad0c6217f4deb0ca0a91c33 /include
parent79865bc5077cf6d17b27e9599921d4c85b1575fd (diff)
downloadbusybox-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.h1
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);
145extern void bb_fflush_stdout_and_exit(int retval) ATTRIBUTE_NORETURN; 145extern void bb_fflush_stdout_and_exit(int retval) ATTRIBUTE_NORETURN;
146 146
147extern void xstat(const char *filename, struct stat *buf); 147extern void xstat(const char *filename, struct stat *buf);
148extern int bb_xsocket(int domain, int type, int protocol);
148 149
149#define BB_GETOPT_ERROR 0x80000000UL 150#define BB_GETOPT_ERROR 0x80000000UL
150extern const char *bb_opt_complementally; 151extern const char *bb_opt_complementally;