public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1c6f44
)
syscall_net: brackets to work around cc65 parsing bug
author
Alan Cox
<alan@linux.intel.com>
Thu, 3 Nov 2016 17:48:31 +0000
(17:48 +0000)
committer
Alan Cox
<alan@linux.intel.com>
Thu, 3 Nov 2016 17:48:31 +0000
(17:48 +0000)
Kernel/syscall_net.c
patch
|
blob
|
history
diff --git
a/Kernel/syscall_net.c
b/Kernel/syscall_net.c
index
6716274
..
6ae299f
100644
(file)
--- a/
Kernel/syscall_net.c
+++ b/
Kernel/syscall_net.c
@@
-669,6
+669,6
@@
void sock_init(void)
struct socket *s = sockets;
uint8_t n = 0;
while (s < sockets + NSOCKET)
-
s++
->s_num = n++;
+
(s++)
->s_num = n++;
netdev_init();
}