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