summaryrefslogtreecommitdiff
path: root/libfshelp/fetch-root.c
diff options
context:
space:
mode:
authorFlavio Cruz <flaviocruz@gmail.com>2016-02-07 02:04:34 -0500
committerJustus Winter <4winter@informatik.uni-hamburg.de>2016-02-07 16:59:01 +0100
commitfb08495170d43a9382e508c9f65f884576c4aa7c (patch)
treeefaa1f4f509430444397344dd41e702d1cc401d2 /libfshelp/fetch-root.c
parentafea5285b0e40b68f97b47f0f0edc471b554fb34 (diff)
Remove libfshelp/trans.h and libfshelp/locks.h.
* libfshelp/locks.h: Remove. * libfshelp/trans.h: Remove. struct transboot is not used anywhere. * libfshelp/fetch-root.c: Adjust includes. * libfshelp/lock-acquire.c: Likewise. * libfshelp/lock-init.c: Likewise.
Diffstat (limited to 'libfshelp/fetch-root.c')
-rw-r--r--libfshelp/fetch-root.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/libfshelp/fetch-root.c b/libfshelp/fetch-root.c
index 712c11f4..1b6739ec 100644
--- a/libfshelp/fetch-root.c
+++ b/libfshelp/fetch-root.c
@@ -18,11 +18,14 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
-#include "trans.h"
-#include <unistd.h>
#include <assert.h>
-#include <string.h>
#include <hurd/fsys.h>
+#include <hurd/ports.h>
+#include <stdlib.h>
+#include <string.h>
+#include <unistd.h>
+
+#include "fshelp.h"
error_t
fshelp_fetch_root (struct transbox *box, void *cookie,