Changeset 846 in svn for trunk/utils.c


Ignore:
Timestamp:
2012-03-26T09:41:19Z (3 years ago)
Author:
Xuefer
Message:

kill most const warning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/utils.c

    r829 r846  
    482482
    483483#ifdef HAVE_XCACHE_CONSTANT
    484 void xc_install_constant(char *filename, zend_constant *constant, zend_uchar type, zstr key, uint len, ulong h TSRMLS_DC) /* {{{ */
     484void xc_install_constant(ZEND_24(const) char *filename, zend_constant *constant, zend_uchar type, const24_zstr key, uint len, ulong h TSRMLS_DC) /* {{{ */
    485485{
    486486    if (zend_u_hash_add(EG(zend_constants), type, key, len,
     
    502502/* }}} */
    503503#endif
    504 void xc_install_function(char *filename, zend_function *func, zend_uchar type, zstr key, uint len, ulong h TSRMLS_DC) /* {{{ */
     504void xc_install_function(ZEND_24(const) char *filename, zend_function *func, zend_uchar type, const24_zstr key, uint len, ulong h TSRMLS_DC) /* {{{ */
    505505{
    506506    zend_bool istmpkey;
     
    532532}
    533533/* }}} */
    534 ZESW(xc_cest_t *, void) xc_install_class(char *filename, xc_cest_t *cest, int oplineno, zend_uchar type, zstr key, uint len, ulong h TSRMLS_DC) /* {{{ */
     534ZESW(xc_cest_t *, void) xc_install_class(ZEND_24(const) char *filename, xc_cest_t *cest, int oplineno, zend_uchar type, const24_zstr key, uint len, ulong h TSRMLS_DC) /* {{{ */
    535535{
    536536    zend_bool istmpkey;
     
    630630#endif
    631631#ifdef ZEND_ENGINE_2_1
    632 static zend_bool xc_auto_global_callback(char *name, uint name_len TSRMLS_DC) /* {{{ */
     632static zend_bool xc_auto_global_callback(ZEND_24(const) char *name, uint name_len TSRMLS_DC) /* {{{ */
    633633{
    634634    return 0;
     
    710710/* }}} */
    711711#endif
    712 xc_sandbox_t *xc_sandbox_init(xc_sandbox_t *sandbox, char *filename TSRMLS_DC) /* {{{ */
     712xc_sandbox_t *xc_sandbox_init(xc_sandbox_t *sandbox, ZEND_24(const) char *filename TSRMLS_DC) /* {{{ */
    713713{
    714714    HashTable *h;
Note: See TracChangeset for help on using the changeset viewer.