Fix warnings compiling in maintainer mode.
Install DB/common.php and DB/mysql.php on "make install".
# We still have a warning from http_config.h:97. Rasmus? :-)
#endif
char *user,*passwd,*host,*socket=NULL,*tmp;
char *hashed_details;
- int hashed_details_length,port;
+ int hashed_details_length,port = MYSQL_PORT;
MYSQL *mysql;
MySLS_FETCH();
PLS_FETCH();
PHP_FUNCTION(preg_quote);
PHP_FUNCTION(preg_grep);
+char *_php_pcre_replace(char *regex, char *subject, char *replace);
+
extern zend_module_entry pcre_module_entry;
#define pcre_module_ptr &pcre_module_entry
#define PS(v) (ps_globals->v)
#define PSLS_FETCH() php_ps_globals *ps_globals = ts_resource(ps_globals_id)
#else
-#define PSLS_D
+#define PSLS_D void
#define PSLS_DC
#define PSLS_C
#define PSLS_CC
#define session_adapt_uris(a,b,c,d) do { } while(0)
#endif
+void _php_session_auto_start(void *data);
+
#if HAVE_WDDX
#define WDDX_SERIALIZER
#include "ext/wddx/php_wddx_api.h"
#endif
-static void php_session_track_init()
+static void php_session_track_init(void)
{
PSLS_FETCH();
ELS_FETCH();
#define FG(v) (fsock_globals->v)
#define FLS_FETCH() php_fsock_globals *fsock_globals = ts_resource(fsock_globals_id)
#else
-#define FLS_D
+#define FLS_D void
#define FLS_DC
#define FLS_C
#define FLS_CC
PHP_FUNCTION(array_pad);
PHP_FUNCTION(array_flip);
+HashTable* _phpi_splice(HashTable *, int, int, zval ***, int, HashTable **);
+int multisort_compare(const void *a, const void *b);
#define phpext_array_ptr array_module_ptr
#endif /* _PHP_ARRAY_H */
#ifndef _php_metaphone_h
#define _php_metaphone_h
+char Lookahead(char *word, int how_far);
extern zend_module_entry metaphone_module_entry;
#define phpext_metaphone_ptr &metaphone_module_entry
PHPAPI void php_request_shutdown(void *dummy);
PHPAPI void php_request_shutdown_for_exec(void *dummy);
PHPAPI int php_module_startup(sapi_module_struct *sf);
-PHPAPI void php_module_shutdown();
-PHPAPI void php_module_shutdown_for_exec();
+PHPAPI void php_module_shutdown(void);
+PHPAPI void php_module_shutdown_for_exec(void);
PHPAPI int php_module_shutdown_wrapper(sapi_module_struct *sapi_globals);
PHPAPI void php_execute_script(zend_file_handle *primary_file CLS_DC ELS_DC PLS_DC);
install-data-local:
-$(mkinstalldirs) $(peardir) $(pear_DBdir) && \
$(INSTALL_DATA) $(srcdir)/DB.php $(peardir) && \
- $(INSTALL_DATA) $(srcdir)/DB/odbc.php $(pear_DBdir)
+ $(INSTALL_DATA) $(srcdir)/DB/common.php $(pear_DBdir) && \
+ $(INSTALL_DATA) $(srcdir)/DB/odbc.php $(pear_DBdir) && \
+ $(INSTALL_DATA) $(srcdir)/DB/mysql.php $(pear_DBdir)