From c705beed6482fe0161f4e8a6a2b13bc1440810ba Mon Sep 17 00:00:00 2001 From: nectar Date: Sat, 10 Jan 2004 18:37:11 +0000 Subject: Remove now redundant and now conflicting declaration of sysarch(2). Remove now unnecessary cast. Reported by: alpha tinderbox --- lib/libio/alpha_sethae.c | 4 +--- 1 file changed, 1 insertion(+), 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 #include -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)); } -- cgit v1.1