gcc/fixincludes/tests/base/sys/socket.h
David Edelsohn 9846edffa4 inclhack.def (aix_externc): New fix.
* inclhack.def (aix_externc): New fix.
	(aix_externcpp[12]): New fix.
	* fixincl.x: Regenerate.
	* test/base/ctype.h [AIX_EXTERNC_CHECK]: New test.
	* test/base/sys/socket.h [AIX_EXTERNCPP[12]_CHECK]: New test.
	* test/base/fcntl.h: New file.

From-SVN: r223497
2015-05-21 13:25:00 -04:00

40 lines
938 B
C

/* DO NOT EDIT THIS FILE.
It has been auto-edited by fixincludes from:
"fixinc/tests/inc/sys/socket.h"
This had to be done to correct non-standard usages in the
original, manufacturer supplied header file. */
#if defined( AIX_EXTERNCPP1_CHECK )
#ifdef __cplusplus
extern "C++" {
#endif /* AIX_EXTERNCPP1_CHECK */
#if defined( AIX_EXTERNCPP2_CHECK )
} /* extern "C++" */
#else /* __cplusplus */
#endif /* AIX_EXTERNCPP2_CHECK */
#if defined( HPUX11_EXTERN_SENDFILE_CHECK )
#ifndef _APP32_64BIT_OFF_T
extern sbsize_t sendfile __((int, int, off_t, bsize_t,
const struct iovec *, int));
#endif
#endif /* HPUX11_EXTERN_SENDFILE_CHECK */
#if defined( HPUX11_EXTERN_SENDPATH_CHECK )
#ifndef _APP32_64BIT_OFF_T
extern sbsize_t sendpath __((int, int, off_t, bsize_t,
const struct iovec *, int));
#endif
#endif /* HPUX11_EXTERN_SENDPATH_CHECK */