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

Diff for /src/usr.bin/less/ch.c between version 1.16 and 1.17

version 1.16, 2015/12/27 17:51:19 version 1.17, 2016/03/16 04:33:01
Line 103 
Line 103 
  * Macros to manipulate the list of buffers in thisfile->hashtbl[n].   * Macros to manipulate the list of buffers in thisfile->hashtbl[n].
  */   */
 #define FOR_BUFS_IN_CHAIN(h, bn) \  #define FOR_BUFS_IN_CHAIN(h, bn) \
         for (bn = thisfile->hashtbl[h].hnext;  \          for ((bn) = thisfile->hashtbl[h].hnext;  \
             bn != END_OF_HCHAIN(h);  bn = bn->hnext)              (bn) != END_OF_HCHAIN(h); (bn) = (bn)->hnext)
   
 #define BUF_HASH_RM(bn) \  #define BUF_HASH_RM(bn) \
         (bn)->hnext->hprev = (bn)->hprev; \          (bn)->hnext->hprev = (bn)->hprev; \

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.17