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

Diff for /src/usr.bin/less/linenum.c between version 1.2 and 1.3

version 1.2, 2001/01/29 01:58:02 version 1.3, 2001/11/19 19:02:14
Line 96 
Line 96 
         public void          public void
 clr_linenum()  clr_linenum()
 {  {
         register struct linenum *p;          struct linenum *p;
   
         /*          /*
          * Put all the entries on the free list.           * Put all the entries on the free list.
Line 123 
Line 123 
  */   */
         static void          static void
 calcgap(p)  calcgap(p)
         register struct linenum *p;          struct linenum *p;
 {  {
         /*          /*
          * Don't bother to compute a gap for the anchor.           * Don't bother to compute a gap for the anchor.
Line 146 
Line 146 
         int lno;          int lno;
         POSITION pos;          POSITION pos;
 {  {
         register struct linenum *p;          struct linenum *p;
         register struct linenum *new;          struct linenum *new;
         register struct linenum *nextp;          struct linenum *nextp;
         register struct linenum *prevp;          struct linenum *prevp;
         register POSITION mingap;          POSITION mingap;
   
         /*          /*
          * Find the proper place in the list for the new one.           * Find the proper place in the list for the new one.
Line 276 
Line 276 
 find_linenum(pos)  find_linenum(pos)
         POSITION pos;          POSITION pos;
 {  {
         register struct linenum *p;          struct linenum *p;
         register int lno;          int lno;
         POSITION cpos;          POSITION cpos;
   
         if (!linenums)          if (!linenums)
Line 386 
Line 386 
 find_pos(lno)  find_pos(lno)
         int lno;          int lno;
 {  {
         register struct linenum *p;          struct linenum *p;
         POSITION cpos;          POSITION cpos;
         int clno;          int clno;
   

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3