opal_event_libevent207 is prototyped as const, so it should be defined as const.
This commit was SVN r23934.
Этот коммит содержится в:
родитель
aaec8ec426
Коммит
b9a06afd98
@ -39,6 +39,7 @@
|
|||||||
#include "opal/constants.h"
|
#include "opal/constants.h"
|
||||||
#include "opal/util/argv.h"
|
#include "opal/util/argv.h"
|
||||||
#include "opal/mca/base/mca_base_param.h"
|
#include "opal/mca/base/mca_base_param.h"
|
||||||
|
#include "libevent207.h"
|
||||||
#include "opal/mca/event/base/base.h"
|
#include "opal/mca/event/base/base.h"
|
||||||
|
|
||||||
#include "libevent/event.h"
|
#include "libevent/event.h"
|
||||||
@ -77,7 +78,7 @@ static int module_signal_pending(opal_event_t *ev, struct timeval *tv);
|
|||||||
static int module_signal_initialized(opal_event_t *ev);
|
static int module_signal_initialized(opal_event_t *ev);
|
||||||
static int loop(int flags);
|
static int loop(int flags);
|
||||||
|
|
||||||
opal_event_module_t opal_event_libevent207 = {
|
const opal_event_module_t opal_event_libevent207 = {
|
||||||
constructor,
|
constructor,
|
||||||
destructor,
|
destructor,
|
||||||
init,
|
init,
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user