include: ssp: hide gets_s behind __EXT1_VISIBLE

These were supposed to match the visibility of the system's declaration,
but this one was overlooked.  Fix it now so that `rsize_t` can be hidden
appropriately.

Reported by:	Shawn Webb (and now others)
This commit is contained in:
Kyle Evans 2024-10-02 12:46:02 -05:00
parent d19fa9c1b7
commit c25e55bcf8

View File

@ -50,7 +50,9 @@ __ssp_redirect(size_t, fread, (void *__restrict __buf, size_t __len,
size_t __nmemb, FILE *__restrict __fp), (__buf, __len, __nmemb, __fp));
__ssp_redirect(size_t, fread_unlocked, (void *__restrict __buf, size_t __len,
size_t __nmemb, FILE *__restrict __fp), (__buf, __len, __nmemb, __fp));
#if __EXT1_VISIBLE
__ssp_redirect(char *, gets_s, (char *__buf, rsize_t __len), (__buf, __len));
#endif /* __EXT1_VISIBLE */
__ssp_redirect_raw(char *, tmpnam, tmpnam, (char *__buf), (__buf), 1,
__ssp_bos, L_tmpnam);
#endif