X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-psi;a=blobdiff_plain;f=m4%2Fposix%2Fstdlib.m4;h=a2a85be7e9b27b36c94564a2178a08ef4f371dd7;hp=c748eb5486e684c025ecf72cb70d3c0bb5956394;hb=3b0b651ea1b555d8d023e45b43e5eb93b23d00a1;hpb=ef2ba7584fd5b7f487af3463600ff46ea39d82dd diff --git a/m4/posix/stdlib.m4 b/m4/posix/stdlib.m4 index c748eb5..a2a85be 100644 --- a/m4/posix/stdlib.m4 +++ b/m4/posix/stdlib.m4 @@ -49,7 +49,7 @@ PSI_CHECK_STDLIB() { PSI_DECL(long nrand48, [(unsigned short xsubi@<:@3@:>@)]) PSI_DECL(int posix_openpt, [(int flags)]) PSI_DECL(char *ptsname, [(int fd)]) - PSI_DECL(char *ptsname_r, [(int fd, char *buf, size_t buflen)]) + PSI_DECL(int ptsname_r, [(int fd, char *buf, size_t buflen)]) PSI_DECL(int putenv, [(char *var)]) PSI_DECL(int rand, [()]) PSI_DECL(int rand_r, [(unsigned *seed_p)])