Browse files

Add some const declarations, makes C++ extension writers happy

  • Loading branch information...
1 parent 26b08f9 commit e0f91992c0a416f5bcb13af5b236faefdbc778f2 @johannes johannes committed Mar 30, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 Zend/zend.h
View
4 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

0 comments on commit e0f9199

Please sign in to comment.