diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2007-03-13 20:56:57 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2007-03-13 20:56:57 +0000 |
commit | 2a3b7a961006abcdd282b1ad9905c894b46ef80a (patch) | |
tree | 696f37ac1fc60b50d1bd51baf809c6549548250a /sys/dev/adb/adb.h | |
parent | 647887e8a26c8ad8d866cd079da8526f70969893 (diff) |
Drop the second and third arguments to adb_op_sync, for they are not used;
while there, remove explicit global variable initializations to zero,
and appease the gods by removing the most ludicrous spurious casts.
No functional change (except for code shrinkage).
Diffstat (limited to 'sys/dev/adb/adb.h')
-rw-r--r-- | sys/dev/adb/adb.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/adb/adb.h b/sys/dev/adb/adb.h index e675281628f..209688337b6 100644 --- a/sys/dev/adb/adb.h +++ b/sys/dev/adb/adb.h @@ -1,4 +1,4 @@ -/* $OpenBSD: adb.h,v 1.2 2006/02/12 18:06:23 miod Exp $ */ +/* $OpenBSD: adb.h,v 1.3 2007/03/13 20:56:56 miod Exp $ */ /* $NetBSD: adbsys.h,v 1.4 2000/12/19 02:59:24 tsubai Exp $ */ /*- @@ -139,7 +139,7 @@ typedef struct { } ADBDataBlock; int adbprint(void *, const char *); -int adb_op_sync(Ptr, Ptr, Ptr, short); +int adb_op_sync(Ptr, short); int set_adb_info(ADBSetInfoBlock *, int); #endif /* _KERNEL */ |