summaryrefslogtreecommitdiffstats
path: root/cpukit/telnetd/telnetd.c
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2005-10-25 13:44:28 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2005-10-25 13:44:28 +0000
commitb259863d95207e57444c9f58dfffdcff37ee9227 (patch)
tree3683160828ef271cbe8ca7d7762cd2a58e6691b6 /cpukit/telnetd/telnetd.c
parentd3d2afdfacfa31a4936d8a764c3b6aa5f5a770bf (diff)
downloadrtems-b259863d95207e57444c9f58dfffdcff37ee9227.tar.bz2
2005-10-25 Ralf Corsepius <ralf.corsepius@rtems.org>
* telnet/telnet.h, telnet/telnet.c: Rename rtems_initialize_telnetd to rtems_telnetd_initialize, main_telnetd to rtems_telnetd_main, register_telnetd to rtems_telnetd_register.
Diffstat (limited to 'cpukit/telnetd/telnetd.c')
-rw-r--r--cpukit/telnetd/telnetd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpukit/telnetd/telnetd.c b/cpukit/telnetd/telnetd.c
index 5016d16036..4673cef3a4 100644
--- a/cpukit/telnetd/telnetd.c
+++ b/cpukit/telnetd/telnetd.c
@@ -84,7 +84,7 @@ rtems_task rtems_task_telnetd(rtems_task_argument task_argument) {
rtems_task_delete(RTEMS_SELF);
}
/***********************************************************/
-int rtems_initialize_telnetd(void) {
+int rtems_telnetd_initialize(void) {
void register_icmds(void);
rtems_status_code sc;
@@ -111,7 +111,7 @@ int rtems_initialize_telnetd(void) {
return (int)sc;
}
/***********************************************************/
-int main_telnetd(int argc,char * argv[]) {
+int rtems_telnetd_main(int argc,char * argv[]) {
rtems_status_code sc;
if (telnetd_task_id) {
printf("ERROR:telnetd already started\n");
@@ -126,7 +126,7 @@ int main_telnetd(int argc,char * argv[]) {
return 0;
}
/***********************************************************/
-int register_telnetd(void) {
+int rtems_telnetd_register(void) {
shell_add_cmd("telnetd","telnet","telnetd [stacksize [tsk_priority]]",main_telnetd);
return 0;
}