Don't redeclare (incorrectly) callrpc on FreeBSD/Alpha.

This commit is contained in:
Steve Price 2001-07-25 17:40:24 +00:00
parent 9e4b618ba0
commit 3f663e605b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=45477

View File

@ -0,0 +1,12 @@
--- porting.c.orig Sun Jul 22 11:19:14 2001
+++ porting.c Sun Jul 22 11:23:38 2001
@@ -33,7 +33,9 @@
#endif
#include <rpcsvc/rstat.h>
+#if !defined(__FreeBSD__) || !defined(__alpha__)
extern int callrpc(char *, u_long, u_long, u_long, xdrproc_t, char *, xdrproc_t, char *);
+#endif
int rstat(char *host, struct statstime *stats)
{