Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix warnings about unused callback function parameters
The parameters are unused on purpose and can be ignored.

[compilation] Fix warnings about unused parameters. Contributes to MER#1005
  • Loading branch information
spiiroin committed May 18, 2015
1 parent 84e3110 commit e379fe8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/hbtest3.c
Expand Up @@ -1150,20 +1150,23 @@ static void ranges_test(int *xc)
/** Issue cpu keepalive at start of wakeup */
static void keepalive_start_cb(hbtimer_t *self)
{
(void)self;
log_debug("@ %s()", __FUNCTION__);
xmce_cpu_keepalive_start();
}

/** ... renew it periodically */
static void keepalive_renew_cb(hbtimer_t *self)
{
(void)self;
log_debug("@ %s()", __FUNCTION__);
xmce_cpu_keepalive_start();
}

/** ... and terminate before going back to sleep */
static void keepalive_stop_cb(hbtimer_t *self)
{
(void)self;
log_debug("@ %s()", __FUNCTION__);
xmce_cpu_keepalive_stop();
}
Expand Down

0 comments on commit e379fe8

Please sign in to comment.