Commit 618053b8 authored by Mark Andrews's avatar Mark Andrews
Browse files

additional places:

3818.   [bug]           Stop lying to the optimizer that 'void *arg' is a
                        constant in isc_event_allocate.

(cherry picked from commit 39b52695)
parent 37f7c4c6
......@@ -113,7 +113,7 @@ typedef struct {
const isc_interval_t *interval,
isc_task_t *task,
isc_taskaction_t action,
const void *arg,
void *arg,
isc_timer_t **timerp);
} isc_timermgrmethods_t;
......@@ -174,7 +174,7 @@ isc_timer_create(isc_timermgr_t *manager,
const isc_interval_t *interval,
isc_task_t *task,
isc_taskaction_t action,
const void *arg,
void *arg,
isc_timer_t **timerp);
/*%<
* Create a new 'type' timer managed by 'manager'. The timers parameters
......
......@@ -126,7 +126,7 @@ struct isc__timermgr {
isc_result_t
isc__timer_create(isc_timermgr_t *manager, isc_timertype_t type,
const isc_time_t *expires, const isc_interval_t *interval,
isc_task_t *task, isc_taskaction_t action, const void *arg,
isc_task_t *task, isc_taskaction_t action, void *arg,
isc_timer_t **timerp);
isc_result_t
isc__timer_reset(isc_timer_t *timer, isc_timertype_t type,
......@@ -378,7 +378,7 @@ destroy(isc__timer_t *timer) {
isc_result_t
isc__timer_create(isc_timermgr_t *manager0, isc_timertype_t type,
const isc_time_t *expires, const isc_interval_t *interval,
isc_task_t *task, isc_taskaction_t action, const void *arg,
isc_task_t *task, isc_taskaction_t action, void *arg,
isc_timer_t **timerp)
{
isc__timermgr_t *manager = (isc__timermgr_t *)manager0;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment