FreeBSD/contrib/ntp/ntpd/ntp_scanner.c
/* Pop, close & free the top of the include stack, unless the stack
 * contains only a singleton input object. In that case the function
 * fails, because the parser does not expect the input stack to be
 * empty.
 *
 * Returns TRUE if an object was successfuly popped from the stack.
 */
Pop, close & free the top of the include stack, unless the stack
contains only a singleton input object. In that case the function
fails, because the parser does not expect the input stack to be
empty.

Returns TRUE if an object was successfuly popped from the stack.
Pop close & free the top of the include stack unless the stack contains only a singleton input object . In that case the function fails because the parser does not expect the input stack to be empty . Returns TRUE if an object was successfuly popped from the stack .
int
lex_pop_file(void)
{
	struct FILE_INFO * head = lex_stack;
	struct FILE_INFO * tail = NULL; 
	if (NULL != head) {
		tail = head->st_next;
		if (NULL != tail) {
			lex_stack = tail;
			lex_close(head);
		}
	}
	return (NULL != tail);
}
int lex_pop_file ( void ) { struct FILE_INFO * head = lex_stack ; struct FILE_INFO * tail = NULL ; if ( NULL != head ) { tail = head -> st_next ; if ( NULL != tail ) { lex_stack = tail ; lex_close ( head ) ; } } return ( NULL != tail ) ; }
Pop, close & free the top of the include stack, unless the stack
 contains only a singleton input object.
Pop close & free the top of the include stack unless the stack contains only a singleton input object .
/*BOOL*/