time.h 933 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. /* DO NOT EDIT THIS FILE.
  2. It has been auto-edited by fixincludes from:
  3. "fixinc/tests/inc/time.h"
  4. This had to be done to correct non-standard usages in the
  5. original, manufacturer supplied header file. */
  6. #if defined( VXWORKS_NEEDS_VXTYPES_CHECK )
  7. unsigned int _clocks_per_sec;
  8. #endif /* VXWORKS_NEEDS_VXTYPES_CHECK */
  9. #if defined( VXWORKS_TIME_CHECK )
  10. #ifndef __gcc_VOIDFUNCPTR_defined
  11. #ifdef __cplusplus
  12. typedef void (*__gcc_VOIDFUNCPTR) (...);
  13. #else
  14. typedef void (*__gcc_VOIDFUNCPTR) ();
  15. #endif
  16. #define __gcc_VOIDFUNCPTR_defined
  17. #endif
  18. #define VOIDFUNCPTR __gcc_VOIDFUNCPTR
  19. #endif /* VXWORKS_TIME_CHECK */
  20. #if defined( VXWORKS_TIME_H_SYSLIB_CHECK )
  21. /* kernel header pattern: */
  22. #include <vxWorks.h>
  23. #include <sysLib.h>
  24. /* rtp header pattern: */
  25. #ifndef _YVALS
  26. #include <yvals.h>
  27. #endif /* _YVALS */
  28. #include <sysLib.h>
  29. #define CLOCKS_PER_SEC sysClkRateGet()
  30. #endif /* VXWORKS_TIME_H_SYSLIB_CHECK */