diff options
author | Stefan Roese <sr@denx.de> | 2007-07-11 12:13:53 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2007-07-11 23:03:06 +0200 |
commit | 3865b1fb7843a08ad49a6319a36415752276ff48 (patch) | |
tree | 2bf23095eebda168b3e4c7e3f4ad7f686342614d /net | |
parent | e9514751cfa5cce61ea699fa0d3eb37898a5eeb5 (diff) |
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.c | 3 | ||||
-rw-r--r-- | net/sntp.c | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/net/nfs.c b/net/nfs.c index 30a897d0633..df2caac48c8 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 0a7f4782cbb..95e75422c10 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 |