mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-26 22:23:08 +00:00
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:
parent
d19fa9c1b7
commit
c25e55bcf8
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user