projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Staging: et131x: config is already zeroed
[GitHub/mt8127/android_kernel_alcatel_ttab.git]
/
drivers
/
net
/
slhc.c
diff --git
a/drivers/net/slhc.c
b/drivers/net/slhc.c
index 163469739db224d2d5a4ca793ad9eef2af530614..d640c0f5470be3bf315c5f53a5d37274a2afdbce 100644
(file)
--- a/
drivers/net/slhc.c
+++ b/
drivers/net/slhc.c
@@
-174,7
+174,7
@@
put16(unsigned char *cp, unsigned short x)
/* Encode a number */
-unsigned char *
+
static
unsigned char *
encode(unsigned char *cp, unsigned short n)
{
if(n >= 256 || n == 0){
@@
-199,7
+199,7
@@
pull16(unsigned char **cpp)
}
/* Decode a number */
-long
+
static
long
decode(unsigned char **cpp)
{
register int x;