summaryrefslogtreecommitdiff
path: root/net/sntp.c
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/sntp.c
parente9514751cfa5cce61ea699fa0d3eb37898a5eeb5 (diff)
downloadu-boot-imx-3865b1fb7843a08ad49a6319a36415752276ff48.zip
u-boot-imx-3865b1fb7843a08ad49a6319a36415752276ff48.tar.gz
u-boot-imx-3865b1fb7843a08ad49a6319a36415752276ff48.tar.bz2
Fix some compile problems introduced by the latest CFG_CMD_xxx cleanup
Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'net/sntp.c')
-rw-r--r--net/sntp.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/sntp.c b/net/sntp.c
index 0a7f478..95e7542 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