From d9fe0617ee0ababd9b7b2d6edf34cb1b6d9a6012 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Wed, 28 Sep 2016 13:23:16 +0200 Subject: Split rtems-bsd-shell-netcmds.c This improves garbage collection by the linker. --- rtemsbsd/rtems/rtems-bsd-shell-netstat.c | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 rtemsbsd/rtems/rtems-bsd-shell-netstat.c (limited to 'rtemsbsd/rtems/rtems-bsd-shell-netstat.c') diff --git a/rtemsbsd/rtems/rtems-bsd-shell-netstat.c b/rtemsbsd/rtems/rtems-bsd-shell-netstat.c new file mode 100644 index 00000000..9cfe7d73 --- /dev/null +++ b/rtemsbsd/rtems/rtems-bsd-shell-netstat.c @@ -0,0 +1,20 @@ +/* + * COPYRIGHT (c) 1989-2012. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may be + * found in the file LICENSE in this distribution or at + * http://www.rtems.com/license/LICENSE. + */ + +#include +#include + +rtems_shell_cmd_t rtems_shell_NETSTAT_Command = { + "netstat", /* name */ + "netstat [args]", /* usage */ + "net", /* topic */ + rtems_bsd_command_netstat, /* command */ + NULL, /* alias */ + NULL /* next */ +}; -- cgit v1.2.3