diff options
author | Marc Espie <espie@cvs.openbsd.org> | 1999-08-29 17:22:06 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 1999-08-29 17:22:06 +0000 |
commit | fb8c8160b6037597e35c217882f8132be9a6f497 (patch) | |
tree | fefa2c74098363c6e0a78d23d9eca065d4a765f7 /usr.bin/nm | |
parent | 8d9e4a69c97fe9e436daf5269c3b6523b30270be (diff) |
Fix -Wall warnings.
Diffstat (limited to 'usr.bin/nm')
-rw-r--r-- | usr.bin/nm/byte.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/nm/byte.c b/usr.bin/nm/byte.c index 7aa2408f9e4..47575f129c6 100644 --- a/usr.bin/nm/byte.c +++ b/usr.bin/nm/byte.c @@ -1,4 +1,4 @@ -/* $OpenBSD: byte.c,v 1.1 1999/05/10 16:14:07 espie Exp $ */ +/* $OpenBSD: byte.c,v 1.2 1999/08/29 17:22:05 espie Exp $ */ /* * Copyright (c) 1999 * Marc Espie. All rights reserved. @@ -92,14 +92,14 @@ static void fix_nlists_order(p, n, mid) size_t n; int mid; { - int i; + size_t i; if (byte_sex(mid) != BYTE_ORDER) for (i = 0; i < n; i++) swap_nlist(p+i); } -static fix_ranlib_order(r, mid) +static void fix_ranlib_order(r, mid) struct ranlib *r; int mid; { |