testing.h 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. /* DO NOT EDIT THIS FILE.
  2. It has been auto-edited by fixincludes from:
  3. "fixinc/tests/inc/testing.h"
  4. This had to be done to correct non-standard usages in the
  5. original, manufacturer supplied header file. */
  6. #if defined( AVOID_WCHAR_T_TYPE_CHECK )
  7. #ifndef __cplusplus
  8. typedef unsigned short wchar_t ;
  9. #endif /* wchar_t
  10. type */
  11. #endif /* AVOID_WCHAR_T_TYPE_CHECK */
  12. #if defined( CTRL_QUOTES_DEF_CHECK )
  13. #define BSD43_CTRL(n, x) ((n<<8)+x)
  14. #endif /* CTRL_QUOTES_DEF_CHECK */
  15. #if defined( CTRL_QUOTES_USE_CHECK )
  16. #define TCTRLFOO BSD43_CTRL('T', 1)
  17. #endif /* CTRL_QUOTES_USE_CHECK */
  18. #if defined( DJGPP_WCHAR_H_CHECK )
  19. #include <stddef.h>
  20. #include <sys/djtypes.h>
  21. extern __DJ_wint_t x;
  22. #endif /* DJGPP_WCHAR_H_CHECK */
  23. #if defined( HPUX11_SIZE_T_CHECK )
  24. #define _hpux_size_t size_t
  25. extern int getpwuid_r( char *, _hpux_size_t, struct passwd **);
  26. #endif /* HPUX11_SIZE_T_CHECK */
  27. #if defined( IO_QUOTES_DEF_CHECK )
  28. #define BSD43__IOWR(n, x) ((n<<8)+x)
  29. #define _IOWN(x,y,t) (_IOC_IN|(((t)&_IOCPARM_MASK)<<16)|(x<<8)|y)
  30. #define _IO(x,y) (x<<8|y)
  31. #endif /* IO_QUOTES_DEF_CHECK */
  32. #if defined( IO_QUOTES_USE_CHECK )
  33. #define TIOCFOO BSD43__IOWR('T', 1)
  34. #define TIOCFOO \
  35. BSD43__IOWR('T', 1) /* Some are multi-line */
  36. #endif /* IO_QUOTES_USE_CHECK */
  37. #if defined( MACHINE_ANSI_H_VA_LIST_CHECK )
  38. # define _BSD_VA_LIST_ __builtin_va_list
  39. #endif /* MACHINE_ANSI_H_VA_LIST_CHECK */
  40. #if defined( MACHINE_NAME_CHECK )
  41. /* MACH_DIFF: */
  42. #if defined( i386 ) || defined( sparc ) || defined( vax )
  43. /* no uniform test, so be careful :-) */
  44. #endif /* MACHINE_NAME_CHECK */
  45. #if defined( STRICT_ANSI_NOT_CHECK )
  46. #if !defined(__STRICT_ANSI__)
  47. #if !defined(__STRICT_ANSI__)
  48. #if !defined(__STRICT_ANSI__)
  49. #if !defined(__STRICT_ANSI__)/* not std C */
  50. int foo;
  51. #end-end-end-end-if :-)
  52. #endif /* STRICT_ANSI_NOT_CHECK */
  53. #if defined( STRICT_ANSI_ONLY_CHECK )
  54. #if defined(__STRICT_ANSI__) /* is std C
  55. */
  56. int foo;
  57. #endif
  58. #endif /* STRICT_ANSI_ONLY_CHECK */
  59. #if defined( SYSV68_STRING_CHECK )
  60. extern unsigned int strlen();
  61. extern int ffs(int);
  62. extern void
  63. *memccpy(),
  64. memcpy();
  65. extern int
  66. strcmp(),
  67. strncmp();
  68. extern unsigned int
  69. strlen(),
  70. strspn();
  71. extern size_t
  72. strlen(), strspn();
  73. #endif /* SYSV68_STRING_CHECK */
  74. #if defined( VMS_USE_PRAGMA_EXTERN_MODEL_CHECK )
  75. #if defined(__DECC) || defined(__DECCXX) || defined(__GNUC__)
  76. # pragma extern_model __save
  77. # pragma extern_model strict_refdef
  78. extern struct x zz;
  79. # pragma extern_model __restore
  80. #endif
  81. #endif /* VMS_USE_PRAGMA_EXTERN_MODEL_CHECK */
  82. #if defined( VXWORKS_REGS_CHECK )
  83. #include <arch/../regs.h>
  84. #endif /* VXWORKS_REGS_CHECK */