~ubuntu-branches/ubuntu/precise/torque/precise-updates

« back to all changes in this revision

Viewing changes to src/lib/Libattr/attr_func.c

  • Committer: Bazaar Package Importer
  • Author(s): Dominique Belhachemi
  • Date: 2010-05-17 20:56:46 UTC
  • mto: This revision was merged to the branch mainline in revision 8.
  • Revision ID: james.westby@ubuntu.com-20100517205646-yjsoqs5r1s9xpnu9
Tags: upstream-2.4.8+dfsg
ImportĀ upstreamĀ versionĀ 2.4.8+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
396
396
 * structures
397
397
 */
398
398
 
399
 
void free_attrlist(pattrlisthead)
400
 
tlist_head *pattrlisthead;
 
399
void
 
400
free_attrlist(tlist_head *pattrlisthead)
401
401
  {
402
402
  svrattrl *pal;
403
403
  svrattrl *nxpal;
404
404
 
 
405
  if (pattrlisthead == NULL)
 
406
    {
 
407
      return;
 
408
    }
 
409
  if (pattrlisthead->ll_next == NULL)
 
410
    {
 
411
      return;
 
412
    }
405
413
  pal = (svrattrl *)GET_NEXT(*pattrlisthead);
406
414
 
407
415
  while (pal != (svrattrl *)0)
671
679
 * within a svrattrl list.
672
680
 */
673
681
 
674
 
void attrl_fixlink(phead)
675
 
tlist_head *phead; /* pointer to head of svrattrl list */
 
682
void
 
683
attrl_fixlink(
 
684
  tlist_head *phead /* pointer to head of svrattrl list */
 
685
)
676
686
  {
677
687
  svrattrl *pal;
678
688
  svrattrl *pnxt;