03b634c8e0
Add more context to aix_externcpp1 selection to ensure that the fix is correctly applied even in future AIX versions. fixincludes/Changelog: 2021-07-01 Clément Chigot <clement.chigot@atos.net> * inclhack.def (aix_externcpp1): Improve select regexp. * fixincl.x: Regenerate. * tests/base/sys/socket.h: Update.
43 lines
1.0 KiB
C
43 lines
1.0 KiB
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 )
|
|
#ifndef _KERNEL
|
|
#ifdef __cplusplus
|
|
extern "C++" {
|
|
extern "C" int naccept(int, struct sockaddr *, socklen_t *);
|
|
#endif /* AIX_EXTERNCPP1_CHECK */
|
|
|
|
|
|
#if defined( AIX_EXTERNCPP2_CHECK )
|
|
#endif /* COMPAT_43 */
|
|
} /* 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 */
|