2000-07-19 16:18:31 +02:00
|
|
|
/* DO NOT EDIT THIS FILE.
|
|
|
|
|
|
|
|
It has been auto-edited by fixincludes from:
|
|
|
|
|
|
|
|
"fixinc/tests/inc/testing.h"
|
|
|
|
|
|
|
|
This had to be done to correct non-standard usages in the
|
|
|
|
original, manufacturer supplied header file. */
|
|
|
|
|
2000-05-30 21:41:37 +02:00
|
|
|
|
|
|
|
|
2001-05-26 18:39:15 +02:00
|
|
|
#if defined( AVOID_WCHAR_T_TYPE_CHECK )
|
|
|
|
#ifndef __cplusplus
|
|
|
|
typedef unsigned short wchar_t ;
|
|
|
|
#endif /* wchar_t
|
|
|
|
type */
|
|
|
|
#endif /* AVOID_WCHAR_T_TYPE_CHECK */
|
|
|
|
|
|
|
|
|
2000-05-30 21:41:37 +02:00
|
|
|
#if defined( CTRL_QUOTES_DEF_CHECK )
|
2001-05-26 18:39:15 +02:00
|
|
|
#define BSD43_CTRL(n, x) ((n<<8)+x)
|
|
|
|
|
2000-05-30 21:41:37 +02:00
|
|
|
#endif /* CTRL_QUOTES_DEF_CHECK */
|
|
|
|
|
|
|
|
|
|
|
|
#if defined( CTRL_QUOTES_USE_CHECK )
|
|
|
|
#define TCTRLFOO BSD43_CTRL('T', 1)
|
|
|
|
#endif /* CTRL_QUOTES_USE_CHECK */
|
|
|
|
|
|
|
|
|
2001-05-26 18:39:15 +02:00
|
|
|
#if defined( DJGPP_WCHAR_H_CHECK )
|
|
|
|
#include <stddef.h>
|
|
|
|
#include <sys/djtypes.h>
|
|
|
|
extern __DJ_wint_t x;
|
|
|
|
|
|
|
|
#endif /* DJGPP_WCHAR_H_CHECK */
|
|
|
|
|
|
|
|
|
2001-12-20 05:09:40 +01:00
|
|
|
#if defined( HPUX11_SIZE_T_CHECK )
|
|
|
|
#define _hpux_size_t size_t
|
|
|
|
extern int getpwuid_r( char *, _hpux_size_t, struct passwd **);
|
|
|
|
|
|
|
|
#endif /* HPUX11_SIZE_T_CHECK */
|
|
|
|
|
|
|
|
|
2000-05-30 21:41:37 +02:00
|
|
|
#if defined( IO_QUOTES_DEF_CHECK )
|
2001-05-26 18:39:15 +02:00
|
|
|
#define BSD43__IOWR(n, x) ((n<<8)+x)
|
|
|
|
#define _IOWN(x,y,t) (_IOC_IN|(((t)&_IOCPARM_MASK)<<16)|(x<<8)|y)
|
|
|
|
#define _IO(x,y) (x<<8|y)
|
2000-05-30 21:41:37 +02:00
|
|
|
#endif /* IO_QUOTES_DEF_CHECK */
|
|
|
|
|
|
|
|
|
|
|
|
#if defined( IO_QUOTES_USE_CHECK )
|
|
|
|
#define TIOCFOO BSD43__IOWR('T', 1)
|
|
|
|
#define TIOCFOO \
|
|
|
|
BSD43__IOWR('T', 1) /* Some are multi-line */
|
|
|
|
#endif /* IO_QUOTES_USE_CHECK */
|
|
|
|
|
|
|
|
|
2001-05-26 18:39:15 +02:00
|
|
|
#if defined( MACHINE_ANSI_H_VA_LIST_CHECK )
|
|
|
|
# define _BSD_VA_LIST_ __builtin_va_list
|
|
|
|
#endif /* MACHINE_ANSI_H_VA_LIST_CHECK */
|
|
|
|
|
|
|
|
|
2000-05-30 21:41:37 +02:00
|
|
|
#if defined( MACHINE_NAME_CHECK )
|
|
|
|
/* MACH_DIFF: */
|
2002-10-05 20:58:14 +02:00
|
|
|
#if defined( i386 ) || defined( sparc ) || defined( vax )
|
2000-05-30 21:41:37 +02:00
|
|
|
/* no uniform test, so be careful :-) */
|
|
|
|
#endif /* MACHINE_NAME_CHECK */
|
|
|
|
|
|
|
|
|
2001-05-26 18:39:15 +02:00
|
|
|
#if defined( STRICT_ANSI_NOT_CHECK )
|
|
|
|
#if !defined(__STRICT_ANSI__)
|
|
|
|
#if !defined(__STRICT_ANSI__)
|
|
|
|
#if !defined(__STRICT_ANSI__)
|
|
|
|
#if !defined(__STRICT_ANSI__)/* not std C */
|
|
|
|
int foo;
|
|
|
|
|
|
|
|
#end-end-end-end-if :-)
|
|
|
|
#endif /* STRICT_ANSI_NOT_CHECK */
|
|
|
|
|
|
|
|
|
|
|
|
#if defined( STRICT_ANSI_ONLY_CHECK )
|
|
|
|
#if defined(__STRICT_ANSI__) /* is std C
|
|
|
|
*/
|
2000-05-30 21:41:37 +02:00
|
|
|
int foo;
|
|
|
|
#endif
|
2001-05-26 18:39:15 +02:00
|
|
|
#endif /* STRICT_ANSI_ONLY_CHECK */
|
2000-05-30 21:41:37 +02:00
|
|
|
|
|
|
|
|
2000-07-13 16:51:14 +02:00
|
|
|
#if defined( SYSV68_STRING_CHECK )
|
|
|
|
extern unsigned int strlen();
|
|
|
|
extern int ffs(int);
|
|
|
|
extern void
|
|
|
|
*memccpy(),
|
|
|
|
memcpy();
|
|
|
|
extern int
|
2000-08-23 15:58:08 +02:00
|
|
|
strcmp(),
|
2000-07-13 16:51:14 +02:00
|
|
|
strncmp();
|
|
|
|
extern unsigned int
|
|
|
|
strlen(),
|
|
|
|
strspn();
|
|
|
|
extern size_t
|
|
|
|
strlen(), strspn();
|
|
|
|
#endif /* SYSV68_STRING_CHECK */
|
2011-09-26 14:12:51 +02:00
|
|
|
|
|
|
|
|
|
|
|
#if defined( VMS_USE_PRAGMA_EXTERN_MODEL_CHECK )
|
|
|
|
#if defined(__DECC) || defined(__DECCXX) || defined(__GNUC__)
|
|
|
|
# pragma extern_model __save
|
|
|
|
# pragma extern_model strict_refdef
|
|
|
|
extern struct x zz;
|
|
|
|
# pragma extern_model __restore
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif /* VMS_USE_PRAGMA_EXTERN_MODEL_CHECK */
|
2012-10-28 22:42:48 +01:00
|
|
|
|
|
|
|
|
|
|
|
#if defined( VXWORKS_REGS_CHECK )
|
|
|
|
#include <arch/../regs.h>
|
|
|
|
|
|
|
|
#endif /* VXWORKS_REGS_CHECK */
|