X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=m4%2Fposix%2Fstdlib.m4;h=c9ce3544d49c76e114582aa16c5d192b9958dfe3;hb=7da18b37282b595cec60e6b77d6fc39d9b7f8c5a;hp=08408836b75c00a9b0be8e1ad73fa62ea3183906;hpb=3ef8c66ab1300801bcdb15b43f9f28e77b6487b6;p=m6w6%2Fext-psi diff --git a/m4/posix/stdlib.m4 b/m4/posix/stdlib.m4 index 0840883..c9ce354 100644 --- a/m4/posix/stdlib.m4 +++ b/m4/posix/stdlib.m4 @@ -24,6 +24,7 @@ PSI_CHECK_STDLIB() { PSI_DECL(double atof, [(char *str)]) PSI_DECL(int atoi, [(char *str)]) PSI_DECL(long atol, [(char *str)]) + PSI_DECL(void *calloc, [(size_t nmemb, size_t size)]) PSI_DECL(div_t div, [(int numerator, int denominator)]) PSI_DECL(double drand48, [()]) PSI_DECL(double erand48, [(unsigned short xsubi@<:@3@:>@)]) @@ -38,6 +39,7 @@ PSI_CHECK_STDLIB() { PSI_DECL(ldiv_t ldiv, [(long numerator, long denominator)]) PSI_DECL(lldiv_t lldiv, [(long long numerator, long long denominator)]) PSI_DECL(long lrand48, [()]) + PSI_DECL(void *malloc, [(size_t size)]) PSI_DECL(int mblen, [(const char *s, size_t n)]) PSI_DECL(size_t mbstowcs, [(wchar_t *dest, char *src, size_t n)]) PSI_DECL(int mbtowc, [(wchar_t *pwc, char *s, size_t n)]) @@ -52,6 +54,7 @@ PSI_CHECK_STDLIB() { PSI_DECL(int rand, [()]) PSI_DECL(int rand_r, [(unsigned *seed_p)]) PSI_DECL(long random, [()]) + PSI_DECL(void *realloc, [(void *ptr, size_t size)]) PSI_DECL(char *realpath, [(char *path, char *resolved)]) PSI_DECL(unsigned short *seed48, [(unsigned short seed16v@<:@3@:>@)]) PSI_DECL(int setenv, [(char *var, char *val, int overwrite)])