diff options
author | Chris Hall <GMCH@hestia.halldom.com> | 2010-04-16 14:29:17 +0100 |
---|---|---|
committer | Chris Hall <GMCH@hestia.halldom.com> | 2010-04-16 14:29:17 +0100 |
commit | a20526cc30d68ca5c4c7951238faafa8969a31c1 (patch) | |
tree | c9a0d8ee5e16ee5f42704c9c9f3122f407f13122 /tests/test-checksum.c | |
parent | d6f1bd7b60fc94488dc6a0493a6ec17346a03b2d (diff) | |
download | quagga-a20526cc30d68ca5c4c7951238faafa8969a31c1.tar.bz2 quagga-a20526cc30d68ca5c4c7951238faafa8969a31c1.tar.xz |
Removing compiler warnings.
Removed nearly 100 compiler warnings in the various routing daemons
which now clean compile.
Removed one warning in vty.c, which was obscured by the other
warnings. SO... this commit corrects the previous one.
Diffstat (limited to 'tests/test-checksum.c')
-rw-r--r-- | tests/test-checksum.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/test-checksum.c b/tests/test-checksum.c index 5fb5d0dd..076dd4ad 100644 --- a/tests/test-checksum.c +++ b/tests/test-checksum.c @@ -26,8 +26,10 @@ typedef uint16_t testoff_t; #define MODX 4102 /* Accumulator phase of checksum */ -static -struct acc_vals +static struct acc_vals +accumulate (u_char *buffer, testsz_t len, testoff_t off) + __attribute__((unused)) ; +static struct acc_vals accumulate (u_char *buffer, testsz_t len, testoff_t off) { u_int8_t *p; |