X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=src%2Ftypes%2Ffree_stmt.c;h=de2676220897e94dcaca462fa8d9fcaaaf26e27a;hb=698841dfdd4d70d24e0b7af25ac7100bc2cb26a4;hp=526f22d7826adebb48cdb638b4f397a6539d897a;hpb=216e7ac3b97aed5a5d65c511dc061c78be90e79d;p=m6w6%2Fext-psi diff --git a/src/types/free_stmt.c b/src/types/free_stmt.c index 526f22d..de26762 100644 --- a/src/types/free_stmt.c +++ b/src/types/free_stmt.c @@ -23,7 +23,11 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *******************************************************************************/ -#include "php_psi_stdinc.h" +#ifdef HAVE_CONFIG_H +# include "config.h" +#else +# include "php_config.h" +#endif #include "data.h" struct psi_free_stmt *psi_free_stmt_init(struct psi_plist *exps) @@ -45,19 +49,19 @@ void psi_free_stmt_free(struct psi_free_stmt **f_ptr) } } -void psi_free_stmt_dump(int fd, struct psi_free_stmt *fre) +void psi_free_stmt_dump(struct psi_dump *dump, struct psi_free_stmt *fre) { size_t i; struct psi_free_exp *exp; - dprintf(fd, "\tfree "); + PSI_DUMP(dump, "\tfree "); for (i = 0; psi_plist_get(fre->exps, i, &exp); ++i) { if (i) { - dprintf(fd, ", "); + PSI_DUMP(dump, ", "); } - psi_free_exp_dump(fd, exp); + psi_free_exp_dump(dump, exp); } - dprintf(fd, ";\n"); + PSI_DUMP(dump, ";\n"); } bool psi_free_stmts_validate(struct psi_data *data, struct psi_validate_scope *scope)