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

Diff for /src/usr.bin/talk/display.c between version 1.4 and 1.5

version 1.4, 1997/11/30 20:30:50 version 1.5, 1998/04/28 22:13:22
Line 58 
Line 58 
  * max HAS to be a function, it is called with   * max HAS to be a function, it is called with
  * a argument of the form --foo at least once.   * a argument of the form --foo at least once.
  */   */
   int
 max(a,b)  max(a,b)
         int a, b;          int a, b;
 {  {
Line 69 
Line 70 
  * Display some text on somebody's window, processing some control   * Display some text on somebody's window, processing some control
  * characters while we are at it.   * characters while we are at it.
  */   */
   void
 display(win, text, size)  display(win, text, size)
         register xwin_t *win;          register xwin_t *win;
         register char *text;          register char *text;
Line 159 
Line 161 
 /*  /*
  * Read the character at the indicated position in win   * Read the character at the indicated position in win
  */   */
   int
 readwin(win, line, col)  readwin(win, line, col)
         WINDOW *win;          WINDOW *win;
           int line, col;
 {  {
         int oldline, oldcol;          int oldline, oldcol;
         register int c;          register int c;
Line 176 
Line 180 
  * Scroll a window, blanking out the line following the current line   * Scroll a window, blanking out the line following the current line
  * so that the current position is obvious   * so that the current position is obvious
  */   */
   void
 xscroll(win, flag)  xscroll(win, flag)
         register xwin_t *win;          register xwin_t *win;
         int flag;          int flag;

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5