diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-08-07 12:35:24 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-08-07 12:35:24 -0600 |
commit | 6c1d3a968a290e3d09cfc62cdc1a0257d4d4f458 (patch) | |
tree | d1f3f6268bff752463cec686ca851f7b0f619051 /apps/nshlib/nsh_netcmds.c | |
parent | c029edd96276fe7efa15992a5dd0da47920a2adb (diff) | |
download | nuttx-6c1d3a968a290e3d09cfc62cdc1a0257d4d4f458.tar.gz nuttx-6c1d3a968a290e3d09cfc62cdc1a0257d4d4f458.tar.bz2 nuttx-6c1d3a968a290e3d09cfc62cdc1a0257d4d4f458.zip |
Remove CONFIG_DISABLE_CLOCK
Diffstat (limited to 'apps/nshlib/nsh_netcmds.c')
-rw-r--r-- | apps/nshlib/nsh_netcmds.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/nshlib/nsh_netcmds.c b/apps/nshlib/nsh_netcmds.c index 93ed13237..f70d88e3e 100644 --- a/apps/nshlib/nsh_netcmds.c +++ b/apps/nshlib/nsh_netcmds.c @@ -66,7 +66,7 @@ #include <nuttx/net/ip.h> #if defined(CONFIG_NET_ICMP) && defined(CONFIG_NET_ICMP_PING) && \ - !defined(CONFIG_DISABLE_CLOCK) && !defined(CONFIG_DISABLE_SIGNALS) + !defined(CONFIG_DISABLE_SIGNALS) # include <apps/netutils/netlib.h> # include <apps/netutils/dnsclient.h> #endif @@ -133,7 +133,7 @@ struct tftpc_args_s ****************************************************************************/ #if defined(CONFIG_NET_ICMP) && defined(CONFIG_NET_ICMP_PING) && \ - !defined(CONFIG_DISABLE_CLOCK) && !defined(CONFIG_DISABLE_SIGNALS) + !defined(CONFIG_DISABLE_SIGNALS) static uint16_t g_pingid = 0; #endif @@ -150,7 +150,7 @@ static uint16_t g_pingid = 0; ****************************************************************************/ #if defined(CONFIG_NET_ICMP) && defined(CONFIG_NET_ICMP_PING) && \ - !defined(CONFIG_DISABLE_CLOCK) && !defined(CONFIG_DISABLE_SIGNALS) + !defined(CONFIG_DISABLE_SIGNALS) static inline uint16_t ping_newid(void) { irqstate_t save = irqsave(); @@ -837,7 +837,7 @@ int cmd_ifconfig(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv) ****************************************************************************/ #if defined(CONFIG_NET_ICMP) && defined(CONFIG_NET_ICMP_PING) && \ - !defined(CONFIG_DISABLE_CLOCK) && !defined(CONFIG_DISABLE_SIGNALS) + !defined(CONFIG_DISABLE_SIGNALS) #ifndef CONFIG_NSH_DISABLE_PING int cmd_ping(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv) { |