summaryrefslogtreecommitdiff
path: root/nfs
diff options
context:
space:
mode:
Diffstat (limited to 'nfs')
-rw-r--r--nfs/main.c4
-rw-r--r--nfs/nfs.h6
2 files changed, 7 insertions, 3 deletions
diff --git a/nfs/main.c b/nfs/main.c
index c98eb567..9ea6f0bc 100644
--- a/nfs/main.c
+++ b/nfs/main.c
@@ -35,6 +35,10 @@
char *netfs_server_name = "nfs";
char *netfs_server_version = HURD_VERSION;
+int main_udp_socket;
+char *hostname;
+volatile struct mapped_time_value *mapped_time;
+
extern char *localhost ();
/* Default number of times to retry RPCs when mounted soft. */
diff --git a/nfs/nfs.h b/nfs/nfs.h
index 8424acb2..36b5ef58 100644
--- a/nfs/nfs.h
+++ b/nfs/nfs.h
@@ -79,13 +79,13 @@ struct netnode
};
/* Socket file descriptor for talking to RPC servers. */
-int main_udp_socket;
+extern int main_udp_socket;
/* Our hostname */
-char *hostname;
+extern char *hostname;
/* The current time */
-volatile struct mapped_time_value *mapped_time;
+extern volatile struct mapped_time_value *mapped_time;
/* Some tunable parameters */