From 901637760b4206e968e73dd5ff7430c107c27b57 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Thu, 18 Jan 2007 21:54:08 -0500 Subject: 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.) --- toys.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'toys.h') 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 #include #include @@ -26,7 +28,6 @@ #include #include "lib/lib.h" -#include "lib/portability.h" #include "gen_config.h" #include "toys/toylist.h" -- cgit v1.2.3