summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authornectar <nectar@FreeBSD.org>2004-01-12 04:05:23 +0000
committernectar <nectar@FreeBSD.org>2004-01-12 04:05:23 +0000
commitd90d802c7a0413b9bce3de213e1dbc4a4b7b3efb (patch)
treecc2fbd8f1bee569aab34217724c13a1f8f0cc8ff /usr.bin
parent09334a0f8ca8217a2c2910bfb0a7300d1063c28a (diff)
downloadFreeBSD-src-d90d802c7a0413b9bce3de213e1dbc4a4b7b3efb.zip
FreeBSD-src-d90d802c7a0413b9bce3de213e1dbc4a4b7b3efb.tar.gz
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
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/uac/uac.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.bin/uac/uac.c b/usr.bin/uac/uac.c
index 57723b1..a2cd1b2 100644
--- a/usr.bin/uac/uac.c
+++ b/usr.bin/uac/uac.c
@@ -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);
}
OpenPOWER on IntegriCloud