tscroll -> __tscroll (for now)
authorKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Tue, 12 Jan 1993 04:17:22 +0000 (20:17 -0800)
committerKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Tue, 12 Jan 1993 04:17:22 +0000 (20:17 -0800)
SCCS-vsn: lib/libcurses/refresh.c 5.28
SCCS-vsn: lib/libcurses/tscroll.c 5.4

usr/src/lib/libcurses/refresh.c
usr/src/lib/libcurses/tscroll.c

index b30f244..914a77c 100644 (file)
@@ -6,7 +6,7 @@
  */
 
 #ifndef lint
  */
 
 #ifndef lint
-static char sccsid[] = "@(#)refresh.c  5.27 (Berkeley) %G%";
+static char sccsid[] = "@(#)refresh.c  5.28 (Berkeley) %G%";
 #endif /* not lint */
 
 #include <curses.h>
 #endif /* not lint */
 
 #include <curses.h>
@@ -634,7 +634,7 @@ scrolln(win, starts, startw, curs, bot, top)
                mvcur(oy, ox, top, 0);
                /* Scroll up the block */
                if (DL)
                mvcur(oy, ox, top, 0);
                /* Scroll up the block */
                if (DL)
-                       tputs(tscroll(DL, n), 0, __cputchar);
+                       tputs(__tscroll(DL, n), 0, __cputchar);
                else
                        for(i = 0; i < n; i++)
                                tputs(dl, 0, __cputchar);
                else
                        for(i = 0; i < n; i++)
                                tputs(dl, 0, __cputchar);
@@ -644,7 +644,7 @@ scrolln(win, starts, startw, curs, bot, top)
                 */
                mvcur(top, 0, bot - n + 1, 0);
                if (AL)
                 */
                mvcur(top, 0, bot - n + 1, 0);
                if (AL)
-                       tputs(tscroll(AL, n), 0, __cputchar);
+                       tputs(__tscroll(AL, n), 0, __cputchar);
                else
                        for(i = 0; i < n; i++)
                                tputs(al, 0, __cputchar);
                else
                        for(i = 0; i < n; i++)
                                tputs(al, 0, __cputchar);
@@ -653,7 +653,7 @@ scrolln(win, starts, startw, curs, bot, top)
                /* Preserve the bottom lines */
                mvcur(oy, ox, bot + n + 1, 0);  /* n < 0 */
                if (DL)
                /* Preserve the bottom lines */
                mvcur(oy, ox, bot + n + 1, 0);  /* n < 0 */
                if (DL)
-                       tputs(tscroll(DL, -n), 0, __cputchar);
+                       tputs(__tscroll(DL, -n), 0, __cputchar);
                else
                        for(i = n; i < 0; i++)
                                tputs(dl, 0, __cputchar);
                else
                        for(i = n; i < 0; i++)
                                tputs(dl, 0, __cputchar);
@@ -661,7 +661,7 @@ scrolln(win, starts, startw, curs, bot, top)
 
                /* Scroll the block down */
                if (AL)
 
                /* Scroll the block down */
                if (AL)
-                       tputs(tscroll(AL, -n), 0, __cputchar);
+                       tputs(__tscroll(AL, -n), 0, __cputchar);
                else
                        for(i = n; i < 0; i++)
                                tputs(al, 0, __cputchar);
                else
                        for(i = n; i < 0; i++)
                                tputs(al, 0, __cputchar);
index 2cd68aa..3a6a5eb 100644 (file)
@@ -6,7 +6,7 @@
  */
 
 #ifndef lint
  */
 
 #ifndef lint
-static char sccsid[] = "@(#)tscroll.c  5.3 (Berkeley) %G%";
+static char sccsid[] = "@(#)tscroll.c  5.4 (Berkeley) %G%";
 #endif /* not lint */
 
 #include <stdio.h>
 #endif /* not lint */
 
 #include <stdio.h>
@@ -36,7 +36,7 @@ static char sccsid[] = "@(#)tscroll.c 5.3 (Berkeley) %G%";
  * all other characters are ``self-inserting''.
  */
 char *
  * all other characters are ``self-inserting''.
  */
 char *
-tscroll(cap, n)
+__tscroll(cap, n)
        const char *cap;
        int n;
 {
        const char *cap;
        int n;
 {