FreeBSD/contrib/ntp/ntpdc/ntpdc_ops.c
/*
 * checkitems - utility to print a message if no items were returned
 */
utility to print a message if no items were returned
utility to print a message if no items were returned
static int
checkitems(
	size_t items,
	FILE *fp
	)
{
	if (items == 0) {
		(void) fprintf(fp, "No data returned in response to query\n");
		return 0;
	}
	return 1;
}
static int checkitems ( size_t items , FILE * fp ) { if ( items == 0 ) { ( void ) fprintf ( fp , " \n " ) ; return 0 ; } return 1 ; }
checkitems - utility to print a message if no items were returned
checkitems - utility to print a message if no items were returned