public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34c0692
)
net_native: fix build with SDCC
author
Alan Cox
<alan@linux.intel.com>
Thu, 9 Nov 2017 01:20:12 +0000
(
01:20
+0000)
committer
Alan Cox
<alan@linux.intel.com>
Thu, 9 Nov 2017 01:20:12 +0000
(
01:20
+0000)
Kernel/dev/net/net_native.c
patch
|
blob
|
history
diff --git
a/Kernel/dev/net/net_native.c
b/Kernel/dev/net/net_native.c
index
5321170
..
ea340ef
100644
(file)
--- a/
Kernel/dev/net/net_native.c
+++ b/
Kernel/dev/net/net_native.c
@@
-29,10
+29,10
@@
static struct netevent ne;
int netdev_write(uint8_t flags)
{
- used(flags);
struct socket *s;
struct sockdata *sd;
+ used(flags);
/* Grab a message from the service daemon */
if (net_ino == NULL || udata.u_count != sizeof(ne) ||
uget(udata.u_base, &ne, sizeof(ne)) == -1 ||
@@
-184,8
+184,8
@@
int netdev_ioctl(uarg_t request, char *data)
*/
int netdev_close(uint8_t minor)
{
- used( minor );
struct socket *s = sockets;
+ used(minor);
if (net_ino) {
i_deref(net_ino);
net_ino = NULL;