From 43dc903ebfb710ea2e7844859d9c722b81e71799 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Mon, 26 Feb 2001 04:16:01 +0000 Subject: 2001-02-25 Roland McGrath * symlink.c: Include for decls of built-ins. * firmlink.c: Include for exit decl. * ifsock.c: Likewise. * null.c: Likewise. * magic.c: Likewise. * fifo.c: Likewise. * hello.c: Likewise. * hello-mt.c: Likewise. --- trans/symlink.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'trans/symlink.c') diff --git a/trans/symlink.c b/trans/symlink.c index 6235d272..bacf6f03 100644 --- a/trans/symlink.c +++ b/trans/symlink.c @@ -1,5 +1,5 @@ /* Translator for S_IFLNK nodes - Copyright (C) 1994, 2000 Free Software Foundation + Copyright (C) 1994, 2000, 2001 Free Software Foundation This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as @@ -17,6 +17,8 @@ #include #include +#include +#include #include #include #include "fsys_S.h" @@ -37,14 +39,14 @@ main (int argc, char **argv) mach_port_t bootstrap; mach_port_t control; error_t error; - + task_get_bootstrap_port (mach_task_self (), &bootstrap); if (bootstrap == MACH_PORT_NULL) { fprintf (stderr, "%s must be started as a translator\n", argv[0]); exit (1); } - + if (argc != 2) { fprintf (stderr, "Usage: %s link-target\n", argv[0]); @@ -130,8 +132,7 @@ S_fsys_startup (mach_port_t bootstrap, int flags, mach_port_t control, } error_t -S_fsys_goaway (mach_port_t control, - int flags) +S_fsys_goaway (mach_port_t control, int flags) { exit (0); } -- cgit v1.2.3