Remove (another) now redundant and now conflicting declaration of

sysarch(2).  Remove now unnecessary casts.

grep(1) says this is the last sysarch declaration in the src tree.

Reported by:	alpha tinderbox
This commit is contained in:
Jacques Vidrine 2004-01-12 04:05:23 +00:00
parent 8096052fae
commit 74b4aad765
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=124411

View File

@ -36,7 +36,6 @@
#include <unistd.h>
#include <err.h>
extern int sysarch(int, char *);
static void usage ();
struct parms {
@ -49,7 +48,7 @@ alpha_setuac(u_int64_t uac)
struct parms p;
p.uac = uac;
return (sysarch(ALPHA_SET_UAC, (char *)&p));
return (sysarch(ALPHA_SET_UAC, &p));
}
int
@ -58,7 +57,7 @@ alpha_getuac(u_int64_t *uac)
struct parms p;
int error;
error = sysarch(ALPHA_GET_UAC, (char *)&p);
error = sysarch(ALPHA_GET_UAC, &p);
*uac = p.uac;
return (error);
}