summaryrefslogtreecommitdiffstats
path: root/include/net.h
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2007-07-05 18:01:38 +0200
committerSascha Hauer <sha@octopus.labnet.pengutronix.de>2007-07-05 18:01:38 +0200
commit9b4dfd79953ffb79685a53a0821bd0a205e15088 (patch)
treeddb8b85bc241fa46df900d8262f299e2455674b4 /include/net.h
parent189579188bf79e176cc57a3b6d68f8306cfc7c60 (diff)
downloadbarebox-9b4dfd79953ffb79685a53a0821bd0a205e15088.tar.gz
barebox-9b4dfd79953ffb79685a53a0821bd0a205e15088.tar.xz
svn_rev_272
more FS work
Diffstat (limited to 'include/net.h')
-rw-r--r--include/net.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/net.h b/include/net.h
index af1fb1030c..e3e6319f78 100644
--- a/include/net.h
+++ b/include/net.h
@@ -376,7 +376,11 @@ extern int NetSendUDPPacket(uchar *ether, IPaddr_t dest, int dport, int sport, i
extern void NetReceive(volatile uchar *, int);
/* Print an IP address on the console */
+#ifdef CONFIG_NET
extern void print_IPaddr (IPaddr_t);
+#else
+#define print_IPaddr(IPaddr_t);
+#endif
/*
* The following functions are a bit ugly, but necessary to deal with