Fix warning.

This commit is contained in:
W. Eric Norum
2004-08-12 13:38:17 +00:00
parent 012f44ff48
commit d41312bac5
2 changed files with 12 additions and 2 deletions

View File

@@ -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 */

View File

@@ -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