Ticket #50421: patch-portable-system.h.diff

File patch-portable-system.h.diff, 441 bytes (added by akkornel (A. Karl Kornel), 8 years ago)

Patch portable/system.h to remove unneeded declarations of strlcat and strlcpy

  • portable/system.h

    old new extern void *reallocarray(void *, size_t, size_t); 
    136136#if !HAVE_SETENV
    137137extern int setenv(const char *, const char *, int);
    138138#endif
    139 #if !HAVE_DECL_STRLCAT
    140 extern size_t strlcat(char *, const char *, size_t);
    141 #endif
    142 #if !HAVE_DECL_STRLCPY
    143 extern size_t strlcpy(char *, const char *, size_t);
    144 #endif
    145139
    146140/* Undo default visibility change. */
    147141#pragma GCC visibility pop