Remove now redundant and now conflicting declaration of sysarch(2).
Remove now unnecessary cast. Reported by: alpha tinderbox
This commit is contained in:
parent
85495c72ff
commit
1d89178762
@ -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));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user