diff options
Diffstat (limited to 'nfsd')
-rw-r--r-- | nfsd/main.c | 4 | ||||
-rw-r--r-- | nfsd/nfsd.h | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/nfsd/main.c b/nfsd/main.c index d5607d37..ee14e240 100644 --- a/nfsd/main.c +++ b/nfsd/main.c @@ -27,11 +27,15 @@ #include <pthread.h> #include <error.h> +volatile struct mapped_time_value *mapped_time; + int main_udp_socket, pmap_udp_socket; struct sockaddr_in main_address, pmap_address; static char index_file[] = LOCALSTATEDIR "/state/misc/nfsd.index"; char *index_file_name = index_file; +auth_t authserver; + /* Launch a server loop thread */ static void create_server_thread (int socket) diff --git a/nfsd/nfsd.h b/nfsd/nfsd.h index 4ab558c4..7ab35726 100644 --- a/nfsd/nfsd.h +++ b/nfsd/nfsd.h @@ -84,7 +84,7 @@ struct proctable struct procedure procs[]; }; -volatile struct mapped_time_value *mapped_time; +extern volatile struct mapped_time_value *mapped_time; #define INTSIZE(n) (((n) + 3) >> 2) @@ -97,7 +97,7 @@ extern struct sockaddr_in main_address, pmap_address; extern char *index_file_name; /* Our auth server */ -auth_t authserver; +extern auth_t authserver; /* cache.c */ |