diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2008-01-23 23:54:07 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 18:11:27 -0500 |
commit | 3c582b30bc2592081e9b23e253ca098fa7d57dc2 (patch) | |
tree | 258f0191bb66aee5de4fb2d19bf71d7c716bee87 /drivers/net/ppp_deflate.c | |
parent | ac97f75faae2a18648145bc6bbcdd326bac6a1c2 (diff) |
[PPP]: Sparse warning fixes.
Fix a bunch of warnings in PPP and related drivers. Mostly because
sparse doesn't like it when the the function is only marked private in
the forward declaration.
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ppp_deflate.c')
-rw-r--r-- | drivers/net/ppp_deflate.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ppp_deflate.c b/drivers/net/ppp_deflate.c index eb98b661efba..034c1c650bcb 100644 --- a/drivers/net/ppp_deflate.c +++ b/drivers/net/ppp_deflate.c | |||
@@ -206,7 +206,7 @@ static void z_comp_reset(void *arg) | |||
206 | * Returns the length of the compressed packet, or 0 if the | 206 | * Returns the length of the compressed packet, or 0 if the |
207 | * packet is incompressible. | 207 | * packet is incompressible. |
208 | */ | 208 | */ |
209 | int z_compress(void *arg, unsigned char *rptr, unsigned char *obuf, | 209 | static int z_compress(void *arg, unsigned char *rptr, unsigned char *obuf, |
210 | int isize, int osize) | 210 | int isize, int osize) |
211 | { | 211 | { |
212 | struct ppp_deflate_state *state = (struct ppp_deflate_state *) arg; | 212 | struct ppp_deflate_state *state = (struct ppp_deflate_state *) arg; |
@@ -435,7 +435,7 @@ static void z_decomp_reset(void *arg) | |||
435 | * bug, so we return DECOMP_FATALERROR for them in order to turn off | 435 | * bug, so we return DECOMP_FATALERROR for them in order to turn off |
436 | * compression, even though they are detected by inspecting the input. | 436 | * compression, even though they are detected by inspecting the input. |
437 | */ | 437 | */ |
438 | int z_decompress(void *arg, unsigned char *ibuf, int isize, | 438 | static int z_decompress(void *arg, unsigned char *ibuf, int isize, |
439 | unsigned char *obuf, int osize) | 439 | unsigned char *obuf, int osize) |
440 | { | 440 | { |
441 | struct ppp_deflate_state *state = (struct ppp_deflate_state *) arg; | 441 | struct ppp_deflate_state *state = (struct ppp_deflate_state *) arg; |