]> git.decadent.org.uk Git - nfs-utils.git/blobdiff - utils/mount/mount.c
mount.nfs: Move network functions into a common source module
[nfs-utils.git] / utils / mount / mount.c
index 96b56973faeeb3731dcd98d74a51d216c5378fcf..30946bd5b26bc1b2eb8b5c88bbb28aa225f16da9 100644 (file)
@@ -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;