Update of /cvsroot/linux-atm/linux-atm/src/switch/debug
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23331/src/switch/debug
Modified Files:
Tag: V2_5_0
debug.c
Log Message:
compiles with gcc4 now
Index: debug.c
===================================================================
RCS file: /cvsroot/linux-atm/linux-atm/src/switch/debug/debug.c,v
retrieving revision 1.2
retrieving revision 1.2.2.1
diff -C2 -d -r1.2 -r1.2.2.1
*** debug.c 9 Oct 2001 22:33:08 -0000 1.2
--- debug.c 27 Sep 2005 23:16:26 -0000 1.2.2.1
***************
*** 44,49 ****
void fab_init(CALL *call)
{
! PRV(call) = alloc_t(FAB);
! PRV(call)->next = calls;
calls = call;
}
--- 44,52 ----
void fab_init(CALL *call)
{
! FAB *fab;
!
! fab = alloc_t(FAB);
! call->fab = fab;
! fab->next = calls;
calls = call;
}
***************
*** 60,64 ****
*walk = PRV(call)->next;
free(PRV(call));
! PRV(call) = NULL;
}
--- 63,67 ----
*walk = PRV(call)->next;
free(PRV(call));
! call->fab = NULL;
}
|