diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-09-25 10:48:14 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-09-25 10:57:56 +0200 |
commit | 6604dc893e784ba55c315eac1e455189dbbd8164 (patch) | |
tree | a59f578a04537cab0cbac4cf7598f01b8825232b /rtemsbsd/include/rtems/netcmds-config.h | |
parent | BSD_ASSERT(): Optimize (diff) | |
download | rtems-libbsd-6604dc893e784ba55c315eac1e455189dbbd8164.tar.bz2 |
Delete rtems_bsd_thread_chain
Rely on RTEMS object registration for threads.
Diffstat (limited to 'rtemsbsd/include/rtems/netcmds-config.h')
-rw-r--r-- | rtemsbsd/include/rtems/netcmds-config.h | 31 |
1 files changed, 19 insertions, 12 deletions
diff --git a/rtemsbsd/include/rtems/netcmds-config.h b/rtemsbsd/include/rtems/netcmds-config.h index 199afbea..d9ccd69c 100644 --- a/rtemsbsd/include/rtems/netcmds-config.h +++ b/rtemsbsd/include/rtems/netcmds-config.h @@ -18,17 +18,24 @@ #include <rtems/shell.h> -/* - * Externs for all command definition structures - */ -// #if RTEMS_NETWORKING - extern rtems_shell_cmd_t rtems_shell_PING_Command; - extern rtems_shell_cmd_t rtems_shell_PING6_Command; - - extern rtems_shell_cmd_t rtems_shell_IFCONFIG_Command; - extern rtems_shell_cmd_t rtems_shell_ROUTE_Command; - extern rtems_shell_cmd_t rtems_shell_NETSTAT_Command; - extern rtems_shell_cmd_t rtems_shell_DHCPCD_Command; -// #endif +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + +extern rtems_shell_cmd_t rtems_shell_BSD_Command; + +extern rtems_shell_cmd_t rtems_shell_PING_Command; +extern rtems_shell_cmd_t rtems_shell_PING6_Command; + +extern rtems_shell_cmd_t rtems_shell_IFCONFIG_Command; +extern rtems_shell_cmd_t rtems_shell_ROUTE_Command; +extern rtems_shell_cmd_t rtems_shell_NETSTAT_Command; +extern rtems_shell_cmd_t rtems_shell_DHCPCD_Command; + +extern rtems_shell_cmd_t rtems_shell_DHCPCD_Command; + +#ifdef __cplusplus +} +#endif /* __cplusplus */ #endif |