summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2007-07-11 12:13:53 +0200
committerWolfgang Denk <wd@denx.de>2007-07-11 23:03:06 +0200
commit3865b1fb7843a08ad49a6319a36415752276ff48 (patch)
tree2bf23095eebda168b3e4c7e3f4ad7f686342614d /net
parente9514751cfa5cce61ea699fa0d3eb37898a5eeb5 (diff)
downloadbootable_bootloader_goldelico_gta04-3865b1fb7843a08ad49a6319a36415752276ff48.tar.gz
bootable_bootloader_goldelico_gta04-3865b1fb7843a08ad49a6319a36415752276ff48.tar.bz2
bootable_bootloader_goldelico_gta04-3865b1fb7843a08ad49a6319a36415752276ff48.zip
Fix some compile problems introduced by the latest CFG_CMD_xxx cleanup
Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'net')
-rw-r--r--net/nfs.c3
-rw-r--r--net/sntp.c3
2 files changed, 2 insertions, 4 deletions
diff --git a/net/nfs.c b/net/nfs.c
index 30a897d06..df2caac48 100644
--- a/net/nfs.c
+++ b/net/nfs.c
@@ -31,8 +31,7 @@
/*#define NFS_DEBUG*/
-#if (defined(CONFIG_CMD_NET) \
- && defined(CONFIG_CMD_NFS)
+#if defined(CONFIG_CMD_NET) && defined(CONFIG_CMD_NFS)
#define HASHES_PER_LINE 65 /* Number of "loading" hashes per line */
#define NFS_TIMEOUT 60
diff --git a/net/sntp.c b/net/sntp.c
index 0a7f4782c..95e75422c 100644
--- a/net/sntp.c
+++ b/net/sntp.c
@@ -12,8 +12,7 @@
#include "sntp.h"
-#if (defined(CONFIG_CMD_NET) \
- && defined(CONFIG_CMD_SNTP)
+#if defined(CONFIG_CMD_NET) && defined(CONFIG_CMD_SNTP)
#define SNTP_TIMEOUT 10