Changeset 860 for trunk/utils.c


Ignore:
Timestamp:
2012-03-29T04:54:33+02:00 (3 years ago)
Author:
moo
Message:

kill warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/utils.c

    r853 r860  
    482482 
    483483#ifdef HAVE_XCACHE_CONSTANT 
    484 void xc_install_constant(ZEND_24(const) char *filename, zend_constant *constant, zend_uchar type, const24_zstr key, uint len, ulong h TSRMLS_DC) /* {{{ */ 
     484void xc_install_constant(ZEND_24(NOTHING, 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(ZEND_24(const) char *filename, zend_function *func, zend_uchar type, const24_zstr key, uint len, ulong h TSRMLS_DC) /* {{{ */ 
     504void xc_install_function(ZEND_24(NOTHING, 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(ZEND_24(const) char *filename, xc_cest_t *cest, int oplineno, zend_uchar type, const24_zstr key, uint len, ulong h TSRMLS_DC) /* {{{ */ 
     534ZESW(xc_cest_t *, void) xc_install_class(ZEND_24(NOTHING, 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(ZEND_24(const) char *name, uint name_len TSRMLS_DC) /* {{{ */ 
     632static zend_bool xc_auto_global_callback(ZEND_24(NOTHING, 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, ZEND_24(const) char *filename TSRMLS_DC) /* {{{ */ 
     712xc_sandbox_t *xc_sandbox_init(xc_sandbox_t *sandbox, ZEND_24(NOTHING, const) char *filename TSRMLS_DC) /* {{{ */ 
    713713{ 
    714714    HashTable *h; 
     
    905905    if (install != XC_NoInstall) { 
    906906        CG(in_compilation)    = 1; 
    907         CG(compiled_filename) = ZEND_24((char *)) sandbox->filename; 
     907        CG(compiled_filename) = ZEND_24(NOTHING, (char *)) sandbox->filename; 
    908908        CG(zend_lineno)       = 0; 
    909909        xc_sandbox_install(sandbox, install TSRMLS_CC); 
Note: See TracChangeset for help on using the changeset viewer.