aboutsummaryrefslogtreecommitdiff
path: root/toys.h
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2007-01-18 21:54:08 -0500
committerRob Landley <rob@landley.net>2007-01-18 21:54:08 -0500
commit901637760b4206e968e73dd5ff7430c107c27b57 (patch)
tree61923e296b7728cb32261bd64eb1ad2261f5ad75 /toys.h
parent813840c9d199bf9e26d23291cf23e22a68e8ad82 (diff)
downloadtoybox-901637760b4206e968e73dd5ff7430c107c27b57.tar.gz
Add fdprintf(). Remove reread() and rewrite() which handle -EINTR, which
shouldn't be a problem if we register signal handlers with sigaction(SA_RESTART) Straighten out count and len (I generally consistently use "count" for the current progress and "len" for the total, but this time I got them backwards for some reason and don't want to confuse myself in future.)
Diffstat (limited to 'toys.h')
-rw-r--r--toys.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/toys.h b/toys.h
index 27647c93..403388ed 100644
--- a/toys.h
+++ b/toys.h
@@ -6,6 +6,8 @@
* Licensed under GPL version 2, see file LICENSE in this tarball for details.
*/
+#include "lib/portability.h"
+
#include <ctype.h>
#include <errno.h>
#include <fcntl.h>
@@ -26,7 +28,6 @@
#include <unistd.h>
#include "lib/lib.h"
-#include "lib/portability.h"
#include "gen_config.h"
#include "toys/toylist.h"