FreeBSD/libexec/rtld-elf/rtld.c
/*
 * Add the init functions from a needed object list (and its recursive
 * needed objects) to "list".  This is not used directly; it is a helper
 * function for initlist_add_objects().  The write lock must be held
 * when this function is called.
 */
Add the init functions from a needed object list (and its recursive
needed objects) to "list".  This is not used directly; it is a helper
function for initlist_add_objects().  The write lock must be held
when this function is called.
Add the init functions from a needed object list ( and its recursive needed objects ) to " list " . This is not used directly ; it is a helper function for initlist_add_objects () . The write lock must be held when this function is called .
static void
initlist_add_neededs(Needed_Entry *needed, Objlist *list)
{
    if (needed->next != NULL)
	initlist_add_neededs(needed->next, list);
    if (needed->obj != NULL)
	initlist_add_objects(needed->obj, needed->obj, list);
}
static void initlist_add_neededs ( Needed_Entry * needed , Objlist * list ) { if ( needed -> next != NULL ) initlist_add_neededs ( needed -> next , list ) ; if ( needed -> obj != NULL ) initlist_add_objects ( needed -> obj , needed -> obj , list ) ; }
Add the init functions from a needed object list (and its recursive
 needed objects) to "list".
Add the init functions from a needed object list ( and its recursive needed objects ) to " list " .
/* Recursively process the successor needed objects. */ /* Process the current needed object. */