X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=utils%2Fmount%2Fmount.c;h=30946bd5b26bc1b2eb8b5c88bbb28aa225f16da9;hp=96b56973faeeb3731dcd98d74a51d216c5378fcf;hb=0dfc8a5426381c6d65aed4d9d0e50bae3238cc8f;hpb=f014bb7f4dbdc45572849465a6410512abffa7ea diff --git a/utils/mount/mount.c b/utils/mount/mount.c index 96b5697..30946bd 100644 --- a/utils/mount/mount.c +++ b/utils/mount/mount.c @@ -42,6 +42,7 @@ #include "nfsumount.h" #include "mount.h" #include "error.h" +#include "network.h" char *progname; int nfs_mount_data_version; @@ -350,12 +351,6 @@ static int chk_mountpoint(char *mount_point) return 0; } -extern u_short getport( - struct sockaddr_in *saddr, - u_long prog, - u_long vers, - u_int prot); - static int probe_statd() { struct sockaddr_in addr;