void keep_alive()
{
current_time = timeval_ms();
- if (current_time-last_time>1000)
+ if (current_time-last_time > 1000)
{
extern int gdb_actual_connections;
"trouble with GDB connections.",
current_time-last_time);
}
- if (current_time-last_time>500)
+ if (current_time-last_time > 500)
{
/* this will keep the GDB connection alive */
LOG_USER_N("%s", "");
{
int i;
int napTime = 10;
- for (i = 0; i<ms; i += napTime)
+ for (i = 0; i < ms; i += napTime)
{
int sleep_a_bit = ms-i;
- if (sleep_a_bit>napTime)
+ if (sleep_a_bit > napTime)
{
sleep_a_bit = napTime;
}
{
long long then;
then = timeval_ms();
- while ((timeval_ms()-then)<ms)
+ while ((timeval_ms()-then) < ms)
{
/* busy wait */
}