* don't need to extern these here -- already done earlier in header file.
Fixes warnings Jeff was complaining about This commit was SVN r11389.
Этот коммит содержится в:
родитель
21e99cd334
Коммит
4c3f135a92
@ -230,7 +230,6 @@ int opal_event_once(int, short, void (*)(int, short, void *), void *, struct tim
|
|||||||
static inline int
|
static inline int
|
||||||
opal_event_add(struct opal_event *ev, struct timeval *tv)
|
opal_event_add(struct opal_event *ev, struct timeval *tv)
|
||||||
{
|
{
|
||||||
extern opal_mutex_t opal_event_lock;
|
|
||||||
int rc;
|
int rc;
|
||||||
OPAL_THREAD_SCOPED_LOCK(&opal_event_lock, rc = opal_event_add_i(ev, tv));
|
OPAL_THREAD_SCOPED_LOCK(&opal_event_lock, rc = opal_event_add_i(ev, tv));
|
||||||
return rc;
|
return rc;
|
||||||
@ -239,7 +238,6 @@ opal_event_add(struct opal_event *ev, struct timeval *tv)
|
|||||||
static inline int
|
static inline int
|
||||||
opal_event_del(struct opal_event *ev)
|
opal_event_del(struct opal_event *ev)
|
||||||
{
|
{
|
||||||
extern opal_mutex_t opal_event_lock;
|
|
||||||
int rc;
|
int rc;
|
||||||
OPAL_THREAD_SCOPED_LOCK(&opal_event_lock, rc = opal_event_del_i(ev));
|
OPAL_THREAD_SCOPED_LOCK(&opal_event_lock, rc = opal_event_del_i(ev));
|
||||||
return rc;
|
return rc;
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user