aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/slhc.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/slhc.c')
-rw-r--r--drivers/net/slhc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/slhc.c b/drivers/net/slhc.c
index 163469739db2..d640c0f5470b 100644
--- a/drivers/net/slhc.c
+++ b/drivers/net/slhc.c
@@ -174,7 +174,7 @@ put16(unsigned char *cp, unsigned short x)
174 174
175 175
176/* Encode a number */ 176/* Encode a number */
177unsigned char * 177static unsigned char *
178encode(unsigned char *cp, unsigned short n) 178encode(unsigned char *cp, unsigned short n)
179{ 179{
180 if(n >= 256 || n == 0){ 180 if(n >= 256 || n == 0){
@@ -199,7 +199,7 @@ pull16(unsigned char **cpp)
199} 199}
200 200
201/* Decode a number */ 201/* Decode a number */
202long 202static long
203decode(unsigned char **cpp) 203decode(unsigned char **cpp)
204{ 204{
205 register int x; 205 register int x;