FACT++  1.0
int sll_remove ( SLL head,
SLL item 
)

Definition at line 74 of file sll.c.

References sll::next.

Referenced by add_exit_handler(), delete_browser(), delete_curr_service(), dis_set_client_exit_handler(), rem_exit_handler_item(), and update_show_servers().

75 {
76  register int ret = 0;
77 
78  DISABLE_AST
79  while( head->next )
80  {
81  if( head->next == item )
82  {
83  head->next = item->next;
84  ret = 1;
85  break;
86  }
87  head = head->next;
88  }
89  ENABLE_AST
90  return(ret);
91 }
struct sll * next
Definition: dim.h:537

+ Here is the caller graph for this function: