]> granicus.if.org Git - php/commitdiff
- Finally rename modules.h to zend_modules.h for consistency (first try
authorAndi Gutmans <andi@php.net>
Mon, 26 Feb 2001 18:14:50 +0000 (18:14 +0000)
committerAndi Gutmans <andi@php.net>
Mon, 26 Feb 2001 18:14:50 +0000 (18:14 +0000)
  was 2000-03-11).
- Remove the first_arg_force_ref[]; and friends extern from php.h as they
  are included via zend_API.h

12 files changed:
configure.in
ext/gettext/php_gettext.h
ext/icap/php_icap.c
ext/imap/php_imap.h
ext/mcal/php_mcal.c
ext/mcrypt/php_mcrypt.h
ext/mhash/php_mhash.h
ext/ovrimos/php_ovrimos.h
main/internal_functions.c.in
main/internal_functions_win32.c
main/php.h
sapi/cgi/cgi_main.c

index 3588023ccd6d1a20c2f476525d0e0799f4923868..9e30ddcdf6e7ead4f4cc85846fe75dfd7e9c2c76 100644 (file)
@@ -699,7 +699,7 @@ else
   PART2=non-zts
 fi
 
-ZEND_MODULE_API_NO=`egrep '#define ZEND_MODULE_API_NO ' $srcdir/Zend/modules.h|sed 's/#define ZEND_MODULE_API_NO //'`
+ZEND_MODULE_API_NO=`egrep '#define ZEND_MODULE_API_NO ' $srcdir/Zend/zend_modules.h|sed 's/#define ZEND_MODULE_API_NO //'`
 
 EXTENSION_DIR="$prefix/lib/php/extensions/$PART1-$PART2-$ZEND_MODULE_API_NO"
 
index 58a215b34c66d68dfbcda0bed01b24005857d196..c7323831ddab7e10b3ba1470bc243e5f452c7799 100644 (file)
@@ -23,7 +23,7 @@
 
 #if HAVE_LIBINTL
 #ifndef INIT_FUNC_ARGS
-#include "modules.h"
+#include "zend_modules.h"
 #endif
 
 extern zend_module_entry php_gettext_module_entry;
index 308a20d92069f007128247d97125089df2d84d43..e7455b25320059280f25a784eefeb150fb0f6815 100644 (file)
@@ -45,7 +45,7 @@
 #include <stdarg.h>
 #include "cal.h"
 #include "php_icap.h"
-#include "modules.h"
+#include "zend_modules.h"
 #include "ext/standard/info.h"
 #include "ext/standard/basic_functions.h"
 #ifdef PHP_WIN32
index cbdd491a9f7e38b5ecd6c90d41cf51993ce5199a..ba637af2827ee72b427d9b3203171071939f49b6 100644 (file)
@@ -15,7 +15,7 @@
  #include "rfc822.h" 
 #endif
 
-#include "modules.h"
+#include "zend_modules.h"
 
 extern zend_module_entry imap_module_entry;
 #define imap_module_ptr &imap_module_entry
index 897dbda915d64e9ac2056c404119d896908e4d11..b3e3f04710ff90cdc0cb49d78d331b5f74ceaddb 100644 (file)
@@ -34,7 +34,7 @@
 #include <stdarg.h>
 #include "mcal.h"
 #include "php_mcal.h"
-#include "modules.h"
+#include "zend_modules.h"
 #include "ext/standard/info.h"
 #include "ext/standard/basic_functions.h"
 #ifdef PHP_WIN32
index 849cd4a646f648ae632f7fad851dce987a4d7c77..3858abdf2a2223c2de1fc9d845473deca0caf2bd 100644 (file)
@@ -9,7 +9,7 @@
 
 #if PHP_API_VERSION < 19990421
 #define  zend_module_entry zend_module_entry
-#include "modules.h"
+#include "zend_modules.h"
 #include "internal_functions.h"
 #endif
 
index ceacfe513003838fbf8b2b90238f8f5518a97513..9acd447d81afeaf369ab2a810ece551fee24dd46 100644 (file)
@@ -5,7 +5,7 @@
 
 #if PHP_API_VERSION < 19990421
 #define  zend_module_entry zend_module_entry
-#include "modules.h"
+#include "zend_modules.h"
 #include "internal_functions.h"
 #endif
 
index 66099afbb3837f1d4641b6c1ff45d2ed0ba8b051..9ec97669e260503aed8af1fcadd5311b4be3cc20 100644 (file)
@@ -5,7 +5,7 @@
 
 #if PHP_API_VERSION < 19990421
 #define  zend_module_entry zend_module_entry
-#include "modules.h"
+#include "zend_modules.h"
 #include "internal_functions.h"
 #endif
 
index 483ad4c05938b59be7979bac0a431869a7d35403..e304665c844b403ea61af9c610d395456b04cd83 100644 (file)
@@ -22,7 +22,7 @@
 
 #include "php.h"
 #include "php_main.h"
-#include "modules.h"
+#include "zend_modules.h"
 #include "internal_functions_registry.h"
 #include "zend_compile.h"
 #include <stdarg.h>
index e2adc6cec2220eef804c8016871da34cf4e655d8..df1be38a4a069f333d3ec8775afeb11e15d926b5 100644 (file)
@@ -23,7 +23,7 @@
 
 #include "php.h"
 #include "php_main.h"
-#include "modules.h"
+#include "zend_modules.h"
 #include "internal_functions_registry.h"
 #include "zend_compile.h"
 #include <stdarg.h>
index 7429ac005d92eb5c09d952cd1e4fa5d7f33715bb..030159458d7513eba47b5fac73c4415e7c13f540 100644 (file)
 #define PHP_DIR_SEPARATOR '/'
 #endif
 
-PHPAPI extern unsigned char first_arg_force_ref[];
-PHPAPI extern unsigned char first_arg_allow_ref[];
-PHPAPI extern unsigned char second_arg_force_ref[];
-PHPAPI extern unsigned char second_arg_allow_ref[];
-
 #include "php_regex.h"
 
 /* PHP's DEBUG value must match Zend's ZEND_DEBUG value */
index c82918081556abe7773b564406f9275a5e4532ff..1423c387e4a9a69e923f28315c0e22934135334c 100644 (file)
@@ -22,7 +22,7 @@
 #include "php.h"
 #include "php_globals.h"
 #include "php_variables.h"
-#include "modules.h"
+#include "zend_modules.h"
 
 #include "SAPI.h"