Changeset 79061679 in rtems for cpukit/telnetd/telnetd.c


Ignore:
Timestamp:
Oct 25, 2005, 2:19:45 PM (16 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
d056c7ec
Parents:
af028338
Message:

2005-10-25 Ralf Corsepius <ralf.corsepius@…>

  • telnetd/icmds.c: Rename register_icmds to _rtems_telnet_register_icmds. Make main_* functions static.
  • telnetd/pty.c: Make many functions static. Rename rtems_telnetd_maximum_ptys to rtems_pty_maximum_ptys.
  • telnetd/pty.h: Reflect changes above. Rename get_pty to rtems_pty_get. New header guards.
  • telnetd/telnetd.c: Reflect changes above.
  • telnetd/telnetd.h: New header guards.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/telnetd/telnetd.c

    raf028338 r79061679  
    3535#include <string.h>     /* memset */
    3636#include <stdio.h>
     37
     38/* FIXME: This should not be here */
     39extern void _rtems_telnetd_register_icmds(void);
     40
    3741/***********************************************************/
    3842rtems_id            telnetd_task_id      =0;
     
    7276                break;
    7377          };
    74           if ((devname = get_pty(acp_socket)) ) {
     78          if ((devname = rtems_pty_get(acp_socket)) ) {
    7579           shell_init(&devname[5],
    7680                      telnetd_stack_size,
     
    8690/***********************************************************/
    8791int rtems_telnetd_initialize(void) {
    88         void register_icmds(void);
    8992        rtems_status_code sc;
    9093       
    91         register_icmds(); /* stats for tcp/ip */
     94        _rtems_telnetd_register_icmds(); /* stats for tcp/ip */
    9295       
    9396        if (telnetd_task_id         ) return RTEMS_RESOURCE_IN_USE;
Note: See TracChangeset for help on using the changeset viewer.