FreeBSD/contrib/ntp/libntp/authkeys.c
/* ----------------------------------------------------------------- */
/* pop and deallocate the first node of a list of access nodes, if
 * the list is not empty. Returns the tail of the list.
 */
pop and deallocate the first node of a list of access nodes, if
the list is not empty. Returns the tail of the list.
pop and deallocate the first node of a list of access nodes if the list is not empty . Returns the tail of the list .
KeyAccT*
keyacc_pop_free(
	KeyAccT *head
	)
{
	KeyAccT *	next = NULL;
	if (head) {
		next = head->next;
		free(head);
	}
	return next;
}
KeyAccT * keyacc_pop_free ( KeyAccT * head ) { KeyAccT * next = NULL ; if ( head ) { next = head -> next ; free ( head ) ; } return next ; }
pop and deallocate the first node of a list of access nodes, if
 the list is not empty.
pop and deallocate the first node of a list of access nodes if the list is not empty .