1: #include "../h/rt.h"
   2: #ifdef SETS
   3: /*
   4:  * addmem - add a new set element block in the correct spot in
   5:  *  the bucket chain.
   6:  */
   7: 
   8: addmem(ps,pe,pl)
   9: struct descrip *pl;
  10: struct b_set *ps;
  11: struct b_selem *pe;
  12:    {
  13:    ps->setsize++;
  14:    if (!NULLDESC(*pl) ) {
  15:       BLKLOC(pe->sblink) = BLKLOC(*pl);
  16:       pe->sblink.type = D_SELEM;
  17:       }
  18:    BLKLOC(*pl) = (union block *) pe;
  19:    pl->type = D_SELEM;
  20:    }
  21: #else SETS
  22: char junk;        /* prevent null object file */
  23: #endif SETS

Defined functions

addmem defined in line 8; never used

Defined variables

junk defined in line 22; never used
Last modified: 1984-11-18
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 735
Valid CSS Valid XHTML 1.0 Strict