Fix warning.
This commit is contained in:
1 parent
012f44ff48
commit
d41312bac5
2 files changed
+12
-2
No files matched your search
@@ -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