summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhjl <hjl>2002-09-12 21:41:09 +0000
committerhjl <hjl>2002-09-12 21:41:09 +0000
commit259185400a65f2fc0c304b42aae6dde1dddd4baa (patch)
treed615308803d63aff9c1fa1cc62e63da300e06d51
parent2134aed3d0db23249cb1fa037f5657805661b486 (diff)
downloadnfs-utils-259185400a65f2fc0c304b42aae6dde1dddd4baa.tar.gz
nfs-utils-259185400a65f2fc0c304b42aae6dde1dddd4baa.tar.xz
nfs-utils-259185400a65f2fc0c304b42aae6dde1dddd4baa.zip
2002-09-12 H.J. Lu <hjl@lucon.org>
* support/include/nfslib.h (svctcp_socket): Protect it with HAVE_SVCTCP_SOCKET. (svcudp_socket): Protect it with HAVE_SVCUDP_SOCKET.
-rw-r--r--ChangeLog6
-rw-r--r--support/include/nfslib.h4
2 files changed, 10 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index a7b593a..00fc995 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2002-09-12 H.J. Lu <hjl@lucon.org>
+ * support/include/nfslib.h (svctcp_socket): Protect it with
+ HAVE_SVCTCP_SOCKET.
+ (svcudp_socket): Protect it with HAVE_SVCUDP_SOCKET.
+
+2002-09-12 H.J. Lu <hjl@lucon.org>
+
* configure.in (VERSION): Set to "1.0.2".
* configure: Regenerated.
* nfs-utils.spec: Likewise.
diff --git a/support/include/nfslib.h b/support/include/nfslib.h
index b95c782..82335fc 100644
--- a/support/include/nfslib.h
+++ b/support/include/nfslib.h
@@ -125,7 +125,11 @@ struct nfs_fh_len * getfh_size(struct sockaddr *addr, const char *, int size);
/* lockd. */
int lockdsvc();
+#ifndef HAVE_SVCTCP_SOCKET
extern int svctcp_socket (u_long __number, int __reuse);
+#endif
+#ifndef HAVE_SVCUDP_SOCKET
extern int svcudp_socket (u_long __number, int __reuse);
+#endif
#endif /* NFSLIB_H */