summaryrefslogtreecommitdiff
path: root/ext/skeleton/skeleton.c
diff options
context:
space:
mode:
authorJouni Ahto <jah@php.net>2000-06-09 03:38:37 +0000
committerJouni Ahto <jah@php.net>2000-06-09 03:38:37 +0000
commit216067b63f23d0514b01013759aefbe825d54425 (patch)
tree4b4c9032042accbcad177d7ddab782cd682066bd /ext/skeleton/skeleton.c
parent1868bfdcdf053b7cb2859f03521e50734e746ec4 (diff)
downloadphp-git-216067b63f23d0514b01013759aefbe825d54425.tar.gz
- As Sascha requested.
Diffstat (limited to 'ext/skeleton/skeleton.c')
-rw-r--r--ext/skeleton/skeleton.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/ext/skeleton/skeleton.c b/ext/skeleton/skeleton.c
index 3c261bd2de..c24dc52b6c 100644
--- a/ext/skeleton/skeleton.c
+++ b/ext/skeleton/skeleton.c
@@ -25,13 +25,7 @@
/* You should tweak config.m4 so this symbol (or some else suitable)
gets defined.
*/
-#if HAVE__EXTNAME_
-
-/* Use this for type if your module registers any resources. You can of course
- rename it and add more if needed. These can be true globals, they don't need
- thread safety. Remove if not needed.
-*/
-static int le_extname_;
+#ifdef HAVE__EXTNAME_
#ifdef ZTS
int _extname__globals_id;
@@ -131,7 +125,8 @@ PHP_FUNCTION(_extname__test)
/* }}} */
/* The previous line is meant for emacs, so it can correctly fold and unfold
functions in source code. See the corresponding marks just before function
- definition, where the functions purpose is also documented.
+ definition, where the functions purpose is also documented. Please follow
+ this convention for the convenience of others editing your code.
*/
#endif /* HAVE__EXTNAME_ */