software/drivers/sd8887/src/wlan/mapp/mlanutl/mlanroamagent.c
/**
 *  @brief          Display exactTime structure elements
 *
 *  @param t        ExactTime_t struct
 *
 *  @return         None
 */
@brief          Display exactTime structure elements
@param t        ExactTime_t struct

@return         None
@brief Display exactTime structure elements @param t ExactTime_t struct @return None
static void
printExactTime2stdout(ExactTime_t *t)
{
	int flag = 0;
	if (t->hrs) {
		printf("%dh ", t->hrs);
		flag = 1;
	}
	if (t->mins) {
		printf("%dm ", t->mins);
		flag = 1;
	}
	if (t->secs) {
		printf("%ds ", t->secs);
		flag = 1;
	}
	if (t->msecs) {
		printf("%dms", t->msecs);
		flag = 1;
	}
	if (!flag) {
		printf(" 0");
	}
}
static void printExactTime2stdout ( ExactTime_t * t ) { int flag = 0 ; if ( t -> hrs ) { printf ( " " , t -> hrs ) ; flag = 1 ; } if ( t -> mins ) { printf ( " " , t -> mins ) ; flag = 1 ; } if ( t -> secs ) { printf ( " " , t -> secs ) ; flag = 1 ; } if ( t -> msecs ) { printf ( " " , t -> msecs ) ; flag = 1 ; } if ( ! flag ) { printf ( " " ) ; } }
@brief          Display exactTime structure elements
  @param t        ExactTime_t struct
@brief Display exactTime structure elements @param t ExactTime_t struct