[dhcp-agent-commits] dhcp-agent dhcp-list.c,1.6,1.7 dhcp-agent.h,1.73,1.74
Status: Alpha
Brought to you by:
actmodern
From: <act...@us...> - 2002-10-25 17:35:24
|
Update of /cvsroot/dhcp-agent/dhcp-agent In directory usw-pr-cvs1:/tmp/cvs-serv15084 Modified Files: dhcp-list.c dhcp-agent.h Log Message: fixed list sifting routine :) Index: dhcp-list.c =================================================================== RCS file: /cvsroot/dhcp-agent/dhcp-agent/dhcp-list.c,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** dhcp-list.c 25 Oct 2002 12:52:19 -0000 1.6 --- dhcp-list.c 25 Oct 2002 12:58:20 -0000 1.7 *************** *** 127,131 **** } ! list_t *find_datum_by(list_t *first, int (*find_func(void *)), void *arg) { list_t *ptr; --- 127,131 ---- } ! list_t *find_datum_by(list_t *list, int (*find_func(void *, void *)), void *arg) { list_t *ptr; Index: dhcp-agent.h =================================================================== RCS file: /cvsroot/dhcp-agent/dhcp-agent/dhcp-agent.h,v retrieving revision 1.73 retrieving revision 1.74 diff -C2 -d -r1.73 -r1.74 *** dhcp-agent.h 25 Oct 2002 12:52:19 -0000 1.73 --- dhcp-agent.h 25 Oct 2002 12:58:20 -0000 1.74 *************** *** 788,792 **** extern void purge_list_internal(void *head); extern list_t *join_lists(list_t *first_list, list_t *second_list); ! extern list_t *find_datum_by(list_t *first, int (*find_func(void *)), void *arg); /* Logging functions. */ --- 788,792 ---- extern void purge_list_internal(void *head); extern list_t *join_lists(list_t *first_list, list_t *second_list); ! extern list_t *find_datum_by(list_t *first, int (*find_func(void *, void *)), void *arg); /* Logging functions. */ |