- Fix prototype and memory leak

This commit is contained in:
Felipe Pena 2013-11-12 20:55:39 -02:00
parent 5d435cb831
commit ff54d20b58
2 changed files with 6 additions and 2 deletions

View file

@ -38,7 +38,7 @@ enum {
NOTICE
};
int phpdbg_print(int TSRMLS_DC, const char*, ...);
void phpdbg_print(int TSRMLS_DC, const char*, ...);
#define phpdbg_error(fmt, ...) phpdbg_print(ERROR TSRMLS_CC, fmt, ##__VA_ARGS__)
#define phpdbg_notice(fmt, ...) phpdbg_print(NOTICE TSRMLS_CC, fmt, ##__VA_ARGS__)