[BACK]Return to sys_bsd.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / telnet

Diff for /src/usr.bin/telnet/sys_bsd.c between version 1.9 and 1.10

version 1.9, 2001/09/04 23:35:59 version 1.10, 2001/11/19 19:02:16
Line 251 
Line 251 
   
     cc_t *      cc_t *
 tcval(func)  tcval(func)
     register int func;      int func;
 {  {
     switch(func) {      switch(func) {
     case SLC_IP:        return(&termIntChar);      case SLC_IP:        return(&termIntChar);
Line 364 
Line 364 
   
     void      void
 TerminalNewMode(f)  TerminalNewMode(f)
     register int f;      int f;
 {  {
     static int prevmode = 0;      static int prevmode = 0;
 #ifndef USE_TERMIO  #ifndef USE_TERMIO
Line 754 
Line 754 
     long *ospeed;      long *ospeed;
 {  {
 #ifdef  DECODE_BAUD  #ifdef  DECODE_BAUD
     register struct termspeeds *tp;      struct termspeeds *tp;
 #endif  /* DECODE_BAUD */  #endif  /* DECODE_BAUD */
     register long in, out;      long in, out;
   
     out = cfgetospeed(&old_tc);      out = cfgetospeed(&old_tc);
     in = cfgetispeed(&old_tc);      in = cfgetispeed(&old_tc);
Line 961 
Line 961 
 process_rings(netin, netout, netex, ttyin, ttyout, poll)  process_rings(netin, netout, netex, ttyin, ttyout, poll)
     int poll;           /* If 0, then block until something to do */      int poll;           /* If 0, then block until something to do */
 {  {
     register int c;      int c;
                 /* One wants to be a bit careful about setting returnValue                  /* One wants to be a bit careful about setting returnValue
                  * to one, since a one implies we did some useful work,                   * to one, since a one implies we did some useful work,
                  * and therefore probably won't be called to block next                   * and therefore probably won't be called to block next

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10