summaryrefslogtreecommitdiffstats
path: root/cpukit/telnetd/telnetd-init.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2018-04-30 10:54:50 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2018-05-02 09:57:32 +0200
commitb80b34c38da25733174ab7bce4a918919ccd4058 (patch)
treeb0ea8e41abf1dad26acd6bea023d55890baf6f76 /cpukit/telnetd/telnetd-init.c
parentftpd: Always build FTP daemon (diff)
downloadrtems-b80b34c38da25733174ab7bce4a918919ccd4058.tar.bz2
telnetd: Always build telnet daemon
Add support for libbsd initialization. Update #3419.
Diffstat (limited to 'cpukit/telnetd/telnetd-init.c')
-rw-r--r--cpukit/telnetd/telnetd-init.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/cpukit/telnetd/telnetd-init.c b/cpukit/telnetd/telnetd-init.c
new file mode 100644
index 0000000000..7762ad70ba
--- /dev/null
+++ b/cpukit/telnetd/telnetd-init.c
@@ -0,0 +1,18 @@
+/*
+ * Copyright (c) 2018 embedded brains GmbH. All rights reserved.
+ *
+ * The license and distribution terms for this file may be
+ * found in the file LICENSE in this distribution or at
+ * http://www.rtems.org/license/LICENSE.
+ */
+
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <rtems/telnetd.h>
+
+rtems_status_code rtems_telnetd_initialize( void )
+{
+ return rtems_telnetd_start( &rtems_telnetd_config );
+}