From 5d9efe088f5d83921305ee2f93f6c6590c640b47 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sat, 29 Dec 2001 00:40:09 +0000 Subject: 2001-10-13 Roland McGrath * storage-info.c: New file. * Makefile (SRCS): Add it. * mount.c (mounted_hostname, mounted_nfs_port): New global variables. (mount_root): Set them. * nfs.h: Declare them. --- nfs/nfs.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'nfs/nfs.h') diff --git a/nfs/nfs.h b/nfs/nfs.h index 5fb62c50..147dc900 100644 --- a/nfs/nfs.h +++ b/nfs/nfs.h @@ -1,5 +1,5 @@ /* Data structures and global variables for NFS client - Copyright (C) 1994, 1995, 1996, 1997, 1999 Free Software Foundation + Copyright (C) 1994,95,96,97,99,2001 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as @@ -20,6 +20,7 @@ #include #include +#include #include #include "nfs-spec.h" #include @@ -177,6 +178,8 @@ error_t nfs_error_trans (int); /* mount.c */ struct node *mount_root (char *, char *); +extern const char *mounted_hostname; +extern uint16_t mounted_nfs_port; /* host order */ /* ops.c */ int *register_fresh_stat (struct node *, int *); -- cgit v1.2.3