summaryrefslogtreecommitdiff
path: root/ext/ctype
diff options
context:
space:
mode:
Diffstat (limited to 'ext/ctype')
-rw-r--r--ext/ctype/ctype.c12
-rw-r--r--ext/ctype/package.xml2
-rw-r--r--ext/ctype/php_ctype.h20
3 files changed, 3 insertions, 31 deletions
diff --git a/ext/ctype/ctype.c b/ext/ctype/ctype.c
index d6e8641ab..fb1af418c 100644
--- a/ext/ctype/ctype.c
+++ b/ext/ctype/ctype.c
@@ -2,7 +2,7 @@
+----------------------------------------------------------------------+
| PHP Version 5 |
+----------------------------------------------------------------------+
- | Copyright (c) 1997-2006 The PHP Group |
+ | Copyright (c) 1997-2007 The PHP Group |
+----------------------------------------------------------------------+
| This source file is subject to version 3.01 of the PHP license, |
| that is bundled with this package in the file LICENSE, and is |
@@ -28,18 +28,8 @@
#include <ctype.h>
-/* You should tweak config.m4 so this symbol (or some else suitable)
- gets defined.
-*/
#if HAVE_CTYPE
-/* If you declare any globals in php_ctype.h uncomment this:
-ZEND_DECLARE_MODULE_GLOBALS(ctype)
-*/
-
-/* True global resources - no need for thread safety here */
-/* static int le_ctype; */
-
static PHP_MINFO_FUNCTION(ctype);
static PHP_FUNCTION(ctype_alnum);
diff --git a/ext/ctype/package.xml b/ext/ctype/package.xml
index 6cdd630c2..71c9cd990 100644
--- a/ext/ctype/package.xml
+++ b/ext/ctype/package.xml
@@ -22,7 +22,7 @@ according to the current locale.
<version>5.0.0rc1</version>
<date>2004-03-19</date>
<notes>
-package.xml added to support intallation using pear installer
+package.xml added to support installation using pear installer
</notes>
<filelist>
<file role="doc" name="CREDITS"/>
diff --git a/ext/ctype/php_ctype.h b/ext/ctype/php_ctype.h
index fe88279c4..615bd7225 100644
--- a/ext/ctype/php_ctype.h
+++ b/ext/ctype/php_ctype.h
@@ -2,7 +2,7 @@
+----------------------------------------------------------------------+
| PHP Version 5 |
+----------------------------------------------------------------------+
- | Copyright (c) 1997-2006 The PHP Group |
+ | Copyright (c) 1997-2007 The PHP Group |
+----------------------------------------------------------------------+
| This source file is subject to version 3.01 of the PHP license, |
| that is bundled with this package in the file LICENSE, and is |
@@ -19,9 +19,6 @@
#ifndef PHP_CTYPE_H
#define PHP_CTYPE_H
-/* You should tweak config.m4 so this symbol (or some else suitable)
- gets defined.
-*/
#if HAVE_CTYPE
extern zend_module_entry ctype_module_entry;
@@ -33,21 +30,6 @@ extern zend_module_entry ctype_module_entry;
#define PHP_CTYPE_API
#endif
-/*
- Declare any global variables you may need between the BEGIN
- and END macros here:
-
-ZEND_BEGIN_MODULE_GLOBALS(ctype)
- int global_variable;
-ZEND_END_MODULE_GLOBALS(ctype)
-*/
-
-#ifdef ZTS
-#define CTYPEG(v) TSRMG(ctype_globals_id, php_ctype_globals *, v)
-#else
-#define CTYPEG(v) (ctype_globals.v)
-#endif
-
#else
#define phpext_ctype_ptr NULL