summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornectar <nectar@FreeBSD.org>2004-01-10 18:37:11 +0000
committernectar <nectar@FreeBSD.org>2004-01-10 18:37:11 +0000
commitc705beed6482fe0161f4e8a6a2b13bc1440810ba (patch)
tree0a7f8d22b051ad5cd9834aa2e0a1680a626975cb
parente566b473a5f2fa87368d7e90727cc90901b119e0 (diff)
downloadFreeBSD-src-c705beed6482fe0161f4e8a6a2b13bc1440810ba.zip
FreeBSD-src-c705beed6482fe0161f4e8a6a2b13bc1440810ba.tar.gz
Remove now redundant and now conflicting declaration of sysarch(2).
Remove now unnecessary cast. Reported by: alpha tinderbox
-rw-r--r--lib/libio/alpha_sethae.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/libio/alpha_sethae.c b/lib/libio/alpha_sethae.c
index 00b23d0..206b6dd 100644
--- a/lib/libio/alpha_sethae.c
+++ b/lib/libio/alpha_sethae.c
@@ -31,8 +31,6 @@ __FBSDID("$FreeBSD$");
#include <sys/types.h>
#include <machine/sysarch.h>
-extern int sysarch(int, char *);
-
struct parms {
u_int64_t hae;
};
@@ -44,5 +42,5 @@ alpha_sethae(u_int64_t hae)
p.hae = hae;
- return (sysarch(ALPHA_SETHAE, (char *)&p));
+ return (sysarch(ALPHA_SETHAE, &p));
}
OpenPOWER on IntegriCloud