Changeset f81fb809 in rtems
- Timestamp:
- Feb 6, 2003, 10:19:11 PM (18 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 08c6c10
- Parents:
- 089e1b0
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/libnetworking/ChangeLog
r089e1b0 rf81fb809 1 2003-02-06 Joel Sherrill <joel@OARcorp.com> 2 3 * pppd/chat.c: Convert routines with common names to static. This 4 included get_char(), put_char(), and character() among others. 5 1 6 2003-01-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de> 2 7 -
c/src/libnetworking/pppd/chat.c
r089e1b0 rf81fb809 184 184 void *copy_of __P((char *s)); 185 185 void 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));186 static int get_string __P((register char *string)); 187 static int put_string __P((register char *s)); 188 static int write_char __P((int c)); 189 static int put_char __P((int c)); 190 static int get_char __P((void)); 191 191 void chat_send __P((register char *s)); 192 char *character __P((int c));192 static char *character __P((int c)); 193 193 void chat_expect __P((register char *s)); 194 char *clean __P((register char *s, int sending));194 static char *clean __P((register char *s, int sending)); 195 195 char *expect_strtok __P((char *, char *)); 196 196 int chatmain __P((int, int, char *)); … … 268 268 * 'Clean up' this string. 269 269 */ 270 char *clean(s, sending)270 static char *clean(s, sending) 271 271 register char *s; 272 272 int sending; /* set to 1 when sending (putting) this string. */ … … 574 574 */ 575 575 576 char *character(c)576 static char *character(c) 577 577 int c; 578 578 { … … 670 670 } 671 671 672 int get_char()672 static int get_char() 673 673 { 674 674 int status; … … 689 689 } 690 690 691 int put_char(c)691 static int put_char(c) 692 692 int c; 693 693 { … … 699 699 } 700 700 701 int write_char (c)701 static int write_char (c) 702 702 int c; 703 703 { … … 708 708 } 709 709 710 int put_string (s)710 static int put_string (s) 711 711 register char *s; 712 712 { … … 753 753 * 'Wait for' this string to appear on this file descriptor. 754 754 */ 755 int get_string(string)755 static int get_string(string) 756 756 register char *string; 757 757 { -
cpukit/pppd/chat.c
r089e1b0 rf81fb809 184 184 void *copy_of __P((char *s)); 185 185 void 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));186 static int get_string __P((register char *string)); 187 static int put_string __P((register char *s)); 188 static int write_char __P((int c)); 189 static int put_char __P((int c)); 190 static int get_char __P((void)); 191 191 void chat_send __P((register char *s)); 192 char *character __P((int c));192 static char *character __P((int c)); 193 193 void chat_expect __P((register char *s)); 194 char *clean __P((register char *s, int sending));194 static char *clean __P((register char *s, int sending)); 195 195 char *expect_strtok __P((char *, char *)); 196 196 int chatmain __P((int, int, char *)); … … 268 268 * 'Clean up' this string. 269 269 */ 270 char *clean(s, sending)270 static char *clean(s, sending) 271 271 register char *s; 272 272 int sending; /* set to 1 when sending (putting) this string. */ … … 574 574 */ 575 575 576 char *character(c)576 static char *character(c) 577 577 int c; 578 578 { … … 670 670 } 671 671 672 int get_char()672 static int get_char() 673 673 { 674 674 int status; … … 689 689 } 690 690 691 int put_char(c)691 static int put_char(c) 692 692 int c; 693 693 { … … 699 699 } 700 700 701 int write_char (c)701 static int write_char (c) 702 702 int c; 703 703 { … … 708 708 } 709 709 710 int put_string (s)710 static int put_string (s) 711 711 register char *s; 712 712 { … … 753 753 * 'Wait for' this string to appear on this file descriptor. 754 754 */ 755 int get_string(string)755 static int get_string(string) 756 756 register char *string; 757 757 {
Note: See TracChangeset
for help on using the changeset viewer.