summaryrefslogtreecommitdiff
path: root/pflocal/pflocal.c
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1995-07-16 17:30:27 +0000
committerMiles Bader <miles@gnu.org>1995-07-16 17:30:27 +0000
commit3f203aeffcef731b4c7ab38aed62b6939cb96a0a (patch)
treed7b816e5d2d3755d76c3197b65459d55916e54a4 /pflocal/pflocal.c
parent98433d5c4b862a1469ef8f42285a98048233de6c (diff)
Formerly pflocal.c.~5~
Diffstat (limited to 'pflocal/pflocal.c')
-rw-r--r--pflocal/pflocal.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/pflocal/pflocal.c b/pflocal/pflocal.c
index e4e99871..fd840622 100644
--- a/pflocal/pflocal.c
+++ b/pflocal/pflocal.c
@@ -18,7 +18,12 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
-#include <trivfs.h>
+#include <stdio.h>
+#include <getopt.h>
+#include <error.h>
+
+#include <hurd/hurd_types.h>
+#include <hurd/trivfs.h>
#include "pflocal.h"
@@ -104,10 +109,6 @@ void main(int argc, char *argv[])
if (err)
error(3, err, "Contacting parent");
- /* Open the device only when necessary. */
- device = NULL;
- mutex_init(&device_lock);
-
/* Launch. */
ports_manage_port_operations_multithread (pflocal_port_bucket,
trivfs_demuxer,