summaryrefslogtreecommitdiff
path: root/sbin/atactl
diff options
context:
space:
mode:
authorAlexander Yurchenko <grange@cvs.openbsd.org>2002-12-11 19:44:35 +0000
committerAlexander Yurchenko <grange@cvs.openbsd.org>2002-12-11 19:44:35 +0000
commit47492d1c9d3dff0bdc6ba0d8efbd1d997e3b7657 (patch)
treebefb102a4d7ea312ee80f798d288cd9f5511ab80 /sbin/atactl
parente74ba73fdbfbbd603657e2aa4b21583305edc3af (diff)
ansi; p/o by Andrushock <andrushock@korovino.net>
ok gluk@
Diffstat (limited to 'sbin/atactl')
-rw-r--r--sbin/atactl/atactl.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sbin/atactl/atactl.c b/sbin/atactl/atactl.c
index 3c966e1d983..fb30a85b964 100644
--- a/sbin/atactl/atactl.c
+++ b/sbin/atactl/atactl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: atactl.c,v 1.22 2002/11/24 20:36:11 henning Exp $ */
+/* $OpenBSD: atactl.c,v 1.23 2002/12/11 19:44:34 grange Exp $ */
/* $NetBSD: atactl.c,v 1.4 1999/02/24 18:49:14 jwise Exp $ */
/*-
@@ -1327,9 +1327,7 @@ smart_print_errdata(struct smart_log_errdata *data)
}
int
-smart_cksum(data, len)
- u_int8_t *data;
- int len;
+smart_cksum(u_int8_t *data, int len)
{
u_int8_t sum = 0;
int i;