summaryrefslogtreecommitdiff
path: root/libports/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'libports/init.c')
-rw-r--r--libports/init.c28
1 files changed, 28 insertions, 0 deletions
diff --git a/libports/init.c b/libports/init.c
new file mode 100644
index 00000000..44c8bdd4
--- /dev/null
+++ b/libports/init.c
@@ -0,0 +1,28 @@
+/*
+ Copyright (C) 1995 Free Software Foundation, Inc.
+ Written by Michael I. Bushnell.
+
+ This file is part of the GNU Hurd.
+
+ The GNU Hurd is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License as
+ published by the Free Software Foundation; either version 2, or (at
+ your option) any later version.
+
+ The GNU Hurd is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
+
+#include "ports.h"
+#include <cthreads.h>
+
+struct mutex _ports_lock = MUTEX_INITIALIZER;
+struct condition _ports_block = CONDITION_INITIALIZER;
+struct port_bucket *_ports_all_buckets = 0;
+int _ports_total_rpcs = 0;
+int _ports_flags = 0;