Permalink
Browse files

Avoid duplicating igbinary module declaration.

  • Loading branch information...
1 parent 04d6237 commit e7dfc24108ade4dc731f0fbc7e016f79056dfb22 @nicolasff nicolasff committed Jan 19, 2011
Showing with 0 additions and 31 deletions.
  1. +0 −31 igbinary/igbinary.c
View
@@ -180,40 +180,9 @@ inline static int igbinary_unserialize_ref(struct igbinary_unserialize_data *igs
static int igbinary_unserialize_zval(struct igbinary_unserialize_data *igsd, zval **z TSRMLS_DC);
/* }}} */
/* {{{ igbinary_functions[] */
-/** Exported php functions. */
-zend_function_entry igbinary_functions[] = {
- PHP_FE(igbinary_serialize, NULL)
- PHP_FE(igbinary_unserialize, NULL)
- {NULL, NULL, NULL}
-};
-/* }}} */
-/* {{{ igbinary_module_entry */
-zend_module_entry igbinary_module_entry = {
-#if ZEND_MODULE_API_NO >= 20010901
- STANDARD_MODULE_HEADER,
-#endif
- "igbinary",
- igbinary_functions,
- PHP_MINIT(igbinary),
- PHP_MSHUTDOWN(igbinary),
- NULL,
- NULL,
- PHP_MINFO(igbinary),
-#if ZEND_MODULE_API_NO >= 20010901
- IGBINARY_VERSION, /* Replace with version number for your extension */
-#endif
- STANDARD_MODULE_PROPERTIES
-};
-/* }}} */
ZEND_DECLARE_MODULE_GLOBALS(igbinary)
-/* {{{ ZEND_GET_MODULE */
-#ifdef COMPILE_DL_IGBINARY
-ZEND_GET_MODULE(igbinary)
-#endif
-/* }}} */
-
/* {{{ INI entries */
PHP_INI_BEGIN()
STD_PHP_INI_BOOLEAN("igbinary.compact_strings", "1", PHP_INI_ALL, OnUpdateBool, compact_strings, zend_igbinary_globals, igbinary_globals)

0 comments on commit e7dfc24

Please sign in to comment.