summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schlüter <johannes@php.net>2010-03-30 23:14:19 (GMT)
committerJohannes Schlüter <johannes@php.net>2010-03-30 23:14:19 (GMT)
commite0f91992c0a416f5bcb13af5b236faefdbc778f2 (patch)
treecea9997e231b7b517fd2b809ddb2b1d58e3f1d9c
parent26b08f9857e79b3281d580846e8eb9c27b24af32 (diff)
downloadphp-e0f91992c0a416f5bcb13af5b236faefdbc778f2.tar.gz
Add some const declarations, makes C++ extension writers happy
-rw-r--r--Zend/zend.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zend/zend.h b/Zend/zend.h
index 38f461c..fce65e0 100644
--- a/Zend/zend.h
+++ b/Zend/zend.h
@@ -200,9 +200,9 @@ char *alloca ();
#endif
#if ZEND_DEBUG
-#define ZEND_FILE_LINE_D char *__zend_filename, uint __zend_lineno
+#define ZEND_FILE_LINE_D const char *__zend_filename, const uint __zend_lineno
#define ZEND_FILE_LINE_DC , ZEND_FILE_LINE_D
-#define ZEND_FILE_LINE_ORIG_D char *__zend_orig_filename, uint __zend_orig_lineno
+#define ZEND_FILE_LINE_ORIG_D const char *__zend_orig_filename, const uint __zend_orig_lineno
#define ZEND_FILE_LINE_ORIG_DC , ZEND_FILE_LINE_ORIG_D
#define ZEND_FILE_LINE_RELAY_C __zend_filename, __zend_lineno
#define ZEND_FILE_LINE_RELAY_CC , ZEND_FILE_LINE_RELAY_C