string2.h 596 B

123456789101112131415161718192021222324
  1. /* DO NOT EDIT THIS FILE.
  2. It has been auto-edited by fixincludes from:
  3. "fixinc/tests/inc/bits/string2.h"
  4. This had to be done to correct non-standard usages in the
  5. original, manufacturer supplied header file. */
  6. #if defined( GLIBC_C99_INLINE_3_CHECK )
  7. # if defined(__cplusplus) || defined(__GNUC_STDC_INLINE__)
  8. # define __STRING_INLINE inline
  9. # else
  10. # define __STRING_INLINE extern __inline
  11. # endif
  12. #endif /* GLIBC_C99_INLINE_3_CHECK */
  13. #if defined( GLIBC_STRNCPY_CHECK )
  14. # define strncpy(dest, src, n) __builtin_strncpy (dest, src, n)
  15. #endif /* GLIBC_STRNCPY_CHECK */