X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-psi;a=blobdiff_plain;f=php_psi_posix.h.in;h=47bfc09512eddf7299c737d728602873a3f21907;hp=882e30ca4c45a9b6a65ce12db49ab9d0168da7a0;hb=02e801eabbe26a129ea05e6723c94e10bb653dab;hpb=42f44eb5bf4ecd36e26e051fada79d861d0f92d2 diff --git a/php_psi_posix.h.in b/php_psi_posix.h.in index 882e30c..47bfc09 100644 --- a/php_psi_posix.h.in +++ b/php_psi_posix.h.in @@ -33,14 +33,6 @@ static struct psi_std_type { const char *type_name; const char *alias; } psi_std_types[] = { - {PSI_T_INT8, "int8_t", NULL}, - {PSI_T_INT16, "int16_t", NULL}, - {PSI_T_INT32, "int32_t", NULL}, - {PSI_T_INT64, "int64_t", NULL}, - {PSI_T_UINT8, "uint8_t", NULL}, - {PSI_T_UINT16, "uint16_t", NULL}, - {PSI_T_UINT32, "uint32_t", NULL}, - {PSI_T_UINT64, "uint64_t", NULL}, @PSI_STDTYPES@ {0} }; @@ -110,6 +102,13 @@ static struct psi_func_redir { const char *name; psi_func_ptr func; } psi_func_redirs[] = { + /* needed from libc_nonshared.a */ + {"fstat", (psi_func_ptr) fstat}, + {"fstatat", (psi_func_ptr) fstatat}, + {"lstat", (psi_func_ptr) lstat}, + {"mknod", (psi_func_ptr) mknod}, + {"mknodat", (psi_func_ptr) mknodat}, + {"stat", (psi_func_ptr) stat}, @PSI_REDIRS@ {0} };