Changeset f81fb809 in rtems for cpukit/pppd


Ignore:
Timestamp:
Feb 6, 2003, 10:19:11 PM (17 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
08c6c10
Parents:
089e1b0
Message:

2003-02-06 Joel Sherrill <joel@…>

  • pppd/chat.c: Convert routines with common names to static. This included get_char(), put_char(), and character() among others.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/pppd/chat.c

    r089e1b0 rf81fb809  
    184184void *copy_of __P((char *s));
    185185void break_sequence __P((void));
    186 int  get_string __P((register char *string));
    187 int  put_string __P((register char *s));
    188 int  write_char __P((int c));
    189 int  put_char __P((int c));
    190 int  get_char __P((void));
     186static int  get_string __P((register char *string));
     187static int  put_string __P((register char *s));
     188static int  write_char __P((int c));
     189static int  put_char __P((int c));
     190static int  get_char __P((void));
    191191void chat_send __P((register char *s));
    192 char *character __P((int c));
     192static char *character __P((int c));
    193193void chat_expect __P((register char *s));
    194 char *clean __P((register char *s, int sending));
     194static char *clean __P((register char *s, int sending));
    195195char *expect_strtok __P((char *, char *));
    196196int chatmain __P((int, int, char *));
     
    268268 *      'Clean up' this string.
    269269 */
    270 char *clean(s, sending)
     270static char *clean(s, sending)
    271271register char *s;
    272272int sending;  /* set to 1 when sending (putting) this string. */
     
    574574 */
    575575
    576 char *character(c)
     576static char *character(c)
    577577int c;
    578578{
     
    670670}
    671671
    672 int get_char()
     672static int get_char()
    673673{
    674674    int status;
     
    689689}
    690690
    691 int put_char(c)
     691static int put_char(c)
    692692int c;
    693693{
     
    699699}
    700700
    701 int write_char (c)
     701static int write_char (c)
    702702int c;
    703703{
     
    708708}
    709709
    710 int put_string (s)
     710static int put_string (s)
    711711register char *s;
    712712{
     
    753753 *      'Wait for' this string to appear on this file descriptor.
    754754 */
    755 int get_string(string)
     755static int get_string(string)
    756756register char *string;
    757757{
Note: See TracChangeset for help on using the changeset viewer.