home *** CD-ROM | disk | FTP | other *** search
/ The C Users' Group Library 1994 August / wc-cdrom-cusersgrouplibrary-1994-08.iso / vol_300 / 308_01 / nexts.inc < prev    next >
Text File  |  1990-06-17  |  549b  |  36 lines

  1.  
  2. /*
  3.  *  nexts.inc -- include file for LIST.C
  4.  */
  5.  
  6. static int nexts0(void);
  7. static int nexts1(void);
  8. static int nexts2(void);
  9. static int nexts3(void);
  10.  
  11. static int (*nexts[MAXLISTS])(void) = { nexts0, nexts1, nexts2, nexts3 };
  12.  
  13. static int nexts0(void)
  14. {
  15.     list = listptr[0];
  16.     return lnext();
  17. }
  18.  
  19. static int nexts1(void)
  20. {
  21.     list = listptr[1];
  22.     return lnext();
  23. }
  24.  
  25. static int nexts2(void)
  26. {
  27.     list = listptr[2];
  28.     return lnext();
  29. }
  30.  
  31. static int nexts3(void)
  32. {
  33.     list = listptr[3];
  34.     return lnext();
  35. }
  36.