diff options
author | Dmitry Stogov <dmitry@php.net> | 2007-09-27 18:00:48 +0000 |
---|---|---|
committer | Dmitry Stogov <dmitry@php.net> | 2007-09-27 18:00:48 +0000 |
commit | 6c810b0d4c1b12c675f69f5cfb32f26b6179d460 (patch) | |
tree | e95f336ce39693101bed812985b914c9bd80523e /ext/ncurses/php_ncurses.h | |
parent | f6d9901873156c560eb6da7dafbefc56c363b2bd (diff) | |
download | php-git-6c810b0d4c1b12c675f69f5cfb32f26b6179d460.tar.gz |
Improved memory usage by movig constants to read only memory. (Dmitry, Pierre)
Diffstat (limited to 'ext/ncurses/php_ncurses.h')
-rw-r--r-- | ext/ncurses/php_ncurses.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/ncurses/php_ncurses.h b/ext/ncurses/php_ncurses.h index 12cdd86400..3a49e0c616 100644 --- a/ext/ncurses/php_ncurses.h +++ b/ext/ncurses/php_ncurses.h @@ -36,7 +36,7 @@ extern int le_ncurses_panels; extern zend_module_entry ncurses_module_entry; #define phpext_ncurses_ptr &ncurses_module_entry -extern zend_function_entry ncurses_functions[]; +extern const zend_function_entry ncurses_functions[]; #include "php_ncurses_fe.h" #ifdef PHP_WIN32 |