public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a618546
)
net_native: ifdef for convenience
author
Alan Cox
<alan@linux.intel.com>
Fri, 11 May 2018 22:38:44 +0000
(23:38 +0100)
committer
Alan Cox
<alan@linux.intel.com>
Fri, 11 May 2018 22:38:44 +0000
(23:38 +0100)
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
db56480
..
7778497
100644
(file)
--- a/
Kernel/dev/net/net_native.c
+++ b/
Kernel/dev/net/net_native.c
@@
-4,6
+4,8
@@
#include <net_native.h>
#include <printf.h>
+#ifdef CONFIG_NET_NATIVE
+
/* This holds the additional kernel context for the sockets */
static struct sockdata sockdata[NSOCKET];
/* This is the inode of the backing file object */
@@
-634,3
+636,5
@@
arg_t net_ioctl(uint8_t op, void *p)
void netdev_init(void)
{
}
+
+#endif