summaryrefslogtreecommitdiff
path: root/ext/ncurses/ncurses.c
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2001-07-31 05:44:11 +0000
committerZeev Suraski <zeev@php.net>2001-07-31 05:44:11 +0000
commitaa1772ca7263173ee47af0d83fea866f194757ba (patch)
treea8ea8932a07875a43423a8ffcd0100eab0c0f8a7 /ext/ncurses/ncurses.c
parent57507b4ea6bb2a38578444ca8359806f241fa8f5 (diff)
downloadphp-git-aa1772ca7263173ee47af0d83fea866f194757ba.tar.gz
More TSRMLS_FETCH annihilation
Diffstat (limited to 'ext/ncurses/ncurses.c')
-rw-r--r--ext/ncurses/ncurses.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/ncurses/ncurses.c b/ext/ncurses/ncurses.c
index 741fa9cb3a..2b7b28c31d 100644
--- a/ext/ncurses/ncurses.c
+++ b/ext/ncurses/ncurses.c
@@ -34,7 +34,8 @@ ZEND_DECLARE_MODULE_GLOBALS(ncurses)
int le_ncurses;
-static void ncurses_destruct(zend_rsrc_list_entry *rsrc) {
+static void ncurses_destruct(zend_rsrc_list_entry *rsrc TSRMLS_DC)
+{
WINDOW **pwin = (WINDOW **)rsrc->ptr;
delwin(*pwin);