Fix warning.
This commit is contained in:
@@ -15,9 +15,20 @@
|
||||
#define osdTimeh
|
||||
|
||||
/*
|
||||
* Linux needs this dummy include file since the POSIX version
|
||||
* Linux needs this include file since the POSIX version
|
||||
* causes `struct timespec' to be defined in more than one place.
|
||||
*/
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif /* __cplusplus */
|
||||
|
||||
epicsShareFunc void epicsShareAPI
|
||||
convertDoubleToWakeTime(double timeout,struct timespec *wakeTime);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif /* __cplusplus */
|
||||
|
||||
#endif /* ifndef osdTimeh */
|
||||
|
||||
|
||||
@@ -25,7 +25,6 @@
|
||||
#include "epicsTime.h"
|
||||
#include "errlog.h"
|
||||
#include "epicsAssert.h"
|
||||
#include "osdTime.h"
|
||||
|
||||
/* Until these can be demonstrated to work leave them undefined*/
|
||||
#undef _POSIX_THREAD_PROCESS_SHARED
|
||||
|
||||
Reference in New Issue
Block a user