/[make]/make/misc.c
ViewVC logotype

Diff of /make/misc.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.61 by psmith, Tue Sep 21 12:07:12 2004 UTC revision 1.62 by bosk, Sun Feb 27 21:40:24 2005 UTC
# Line 525  copy_dep_chain (struct dep *d) Line 525  copy_dep_chain (struct dep *d)
525    return firstnew;    return firstnew;
526  }  }
527    
528    /* Free a chain of `struct dep'. Each dep->name is freed
529       as well.  */
530    
531    void
532    free_dep_chain (struct dep *d)
533    {
534      register struct dep *tmp;
535    
536      while (d != 0)
537      {
538        if (d->name != 0)
539          free (d->name);
540    
541        tmp = d;
542    
543        d = d->next;
544    
545        free (tmp);
546      }
547    
548    }
549  #ifdef  iAPX286  #ifdef  iAPX286
550  /* The losing compiler on this machine can't handle this macro.  */  /* The losing compiler on this machine can't handle this macro.  */
551    

Legend:
Removed from v.1.61  
changed lines
  Added in v.1.62

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26