summaryrefslogtreecommitdiff
path: root/include/libbb.h
diff options
context:
space:
mode:
authorDenys Vlasenko2011-01-24 00:29:55 +0100
committerDenys Vlasenko2011-01-24 00:29:55 +0100
commite9a40e3b91f699c08053d7307bf50b0764811b8e (patch)
tree790f2cae8fbca16cfa2b5c1f5ed98d4c4afdf198 /include/libbb.h
parentdc6cd12569e6ac3775b11f6285ccc1bb81b13af0 (diff)
downloadbusybox-e9a40e3b91f699c08053d7307bf50b0764811b8e.zip
busybox-e9a40e3b91f699c08053d7307bf50b0764811b8e.tar.gz
libbb: make ndelay_no/off a bit more clever. +14 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include/libbb.h')
-rw-r--r--include/libbb.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/libbb.h b/include/libbb.h
index 5551031..6e37b8d 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -348,9 +348,9 @@ extern char *bb_get_last_path_component_strip(char *path) FAST_FUNC;
/* "abc/def/" -> "" and it never modifies 'path' */
extern char *bb_get_last_path_component_nostrip(const char *path) FAST_FUNC;
-int ndelay_on(int fd) FAST_FUNC;
-int ndelay_off(int fd) FAST_FUNC;
-int close_on_exec_on(int fd) FAST_FUNC;
+void ndelay_on(int fd) FAST_FUNC;
+void ndelay_off(int fd) FAST_FUNC;
+void close_on_exec_on(int fd) FAST_FUNC;
void xdup2(int, int) FAST_FUNC;
void xmove_fd(int, int) FAST_FUNC;