]> granicus.if.org Git - php/commitdiff
Change header protection macros to conform to standard.
authorSascha Schumann <sas@php.net>
Sun, 2 Jul 2000 23:54:19 +0000 (23:54 +0000)
committerSascha Schumann <sas@php.net>
Sun, 2 Jul 2000 23:54:19 +0000 (23:54 +0000)
  Draft 3 of IEEE 1003.1 200x, "2.2 The Compilation Environment"

    All identifiers that begin with an underscore and either an uppercase
    letter or another underscore are always reserved for any use by the
    implementation.

15 files changed:
Zend/zend.h
Zend/zend_API.h
Zend/zend_builtin_functions.h
Zend/zend_config.w32.h
Zend/zend_dynamic_array.h
Zend/zend_errors.h
Zend/zend_execute_locks.h
Zend/zend_extensions.h
Zend/zend_fast_cache.h
Zend/zend_globals_macros.h
Zend/zend_indent.h
Zend/zend_llist.h
Zend/zend_modules.h
Zend/zend_ptr_stack.h
Zend/zend_stack.h

index f8c065b9b2314ddaf37f55abe60b90ba96369538..a36b0ba710359bf439f712e4663a08d0c1bf4f79 100644 (file)
@@ -18,8 +18,8 @@
 */
 
 
-#ifndef _ZEND_H
-#define _ZEND_H
+#ifndef ZEND_H
+#define ZEND_H
 
 #define ZEND_VERSION "1.0.1"
 
@@ -428,7 +428,7 @@ ZEND_API int zend_get_ini_entry(char *name, uint name_length, zval *contents);
 #define EMPTY_SWITCH_DEFAULT_CASE()
 #endif
 
-#endif /* _ZEND_H */
+#endif /* ZEND_H */
 
 /*
  * Local variables:
index 31b81f2572ef5761f8ac5c6195a786d0c0b0a740..f603f0e50e55bb380c3c95d78ab8f67802f4d7e6 100644 (file)
@@ -18,8 +18,8 @@
 */
 
 
-#ifndef _ZEND_API_H
-#define _ZEND_API_H
+#ifndef ZEND_API_H
+#define ZEND_API_H
 
 #include "modules.h"
 #include "zend_list.h"
@@ -416,7 +416,7 @@ ZEND_API int zend_set_hash_symbol(zval *symbol, char *name, int name_length,
 #define HASH_OF(p) ((p)->type==IS_ARRAY ? (p)->value.ht : (((p)->type==IS_OBJECT ? (p)->value.obj.properties : NULL)))
 #define ZVAL_IS_NULL(z) ((z)->type==IS_NULL)
 
-#endif /* _ZEND_API_H */
+#endif /* ZEND_API_H */
 
 /*
  * Local variables:
index 60952922bec849a7fe9db22463b3ed0128ae9778..e6828fabc19f899f8f10c8b909a4af0ee7afa8e5 100644 (file)
@@ -18,9 +18,9 @@
 */
 
 
-#ifndef _ZEND_BUILTIN_FUNCTIONS_H
-#define _ZEND_BUILTIN_FUNCTIONS_H
+#ifndef ZEND_BUILTIN_FUNCTIONS_H
+#define ZEND_BUILTIN_FUNCTIONS_H
 
 int zend_startup_builtin_functions(void);
 
-#endif /* _ZEND_BUILTIN_FUNCTIONS_H */
+#endif /* ZEND_BUILTIN_FUNCTIONS_H */
index fad196f4d5af62fc3ebc87221281a5f66efb076e..b228fe1ebb99112fe34ab7d1c3dbceb7275b34ee 100644 (file)
@@ -18,8 +18,8 @@
 */
 
 
-#ifndef _ZEND_CONFIG_W32_H
-#define _ZEND_CONFIG_W32_H
+#ifndef ZEND_CONFIG_W32_H
+#define ZEND_CONFIG_W32_H
 
 
 #include <string.h>
@@ -84,4 +84,4 @@ typedef unsigned int uint;
 
 #define ZEND_SERVICE_MB_STYLE          (MB_TOPMOST|MB_SERVICE_NOTIFICATION)
 
-#endif /* _ZEND_CONFIG_W32_H */
+#endif /* ZEND_CONFIG_W32_H */
index 838bc117e40465107ca701e61197582bfeebd0c4..2085498198484c5e0b81ee31267165e93e3e7649 100644 (file)
@@ -35,4 +35,4 @@ ZEND_API void *zend_dynamic_array_pop(dynamic_array *da);
 ZEND_API void *zend_dynamic_array_get_element(dynamic_array *da, unsigned int index);
 END_EXTERN_C()
 
-#endif /* _ZEND_DYNAMIC_ARRAY_H */
+#endif /* ZEND_DYNAMIC_ARRAY_H */
index 52615770f049e212e89204e532e89806f358e169..8b43dc1988d916be69f27dcecde9bcc967a2898d 100644 (file)
@@ -18,8 +18,8 @@
 */
 
 
-#ifndef _ZEND_ERRORS_H
-#define _ZEND_ERRORS_H
+#ifndef ZEND_ERRORS_H
+#define ZEND_ERRORS_H
 
 #define E_ERROR                                (1<<0L)
 #define E_WARNING                      (1<<1L)
@@ -36,5 +36,5 @@
 #define E_ALL (E_ERROR | E_WARNING | E_PARSE | E_NOTICE | E_CORE_ERROR | E_CORE_WARNING | E_COMPILE_ERROR | E_COMPILE_WARNING | E_USER_ERROR | E_USER_WARNING | E_USER_NOTICE)
 #define E_CORE (E_CORE_ERROR | E_CORE_WARNING)
 
-#endif /* _ZEND_ERRORS_H */
+#endif /* ZEND_ERRORS_H */
 
index b24ec642e9471a218296cfcbd357248e153cd02f..c37a3a3e46dfb860202b3e44e46ff48ff9d75a9f 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef _ZEND_EXECUTE_LOCKS_H
-#define _ZEND_EXECUTE_LOCKS_H
+#ifndef ZEND_EXECUTE_LOCKS_H
+#define ZEND_EXECUTE_LOCKS_H
 
 #define PZVAL_LOCK(z)  ((z)->refcount++)
 #define PZVAL_UNLOCK(z)        { ((z)->refcount--);                                                            \
@@ -19,4 +19,4 @@
 
 #define SELECTIVE_PZVAL_LOCK(pzv, pzn)         if (!((pzn)->u.EA.type & EXT_TYPE_UNUSED)) { PZVAL_LOCK(pzv); }
 
-#endif /* _ZEND_EXECUTE_LOCKS_H */
+#endif /* ZEND_EXECUTE_LOCKS_H */
index 83b5bbc2eaeef530921f19a52d3087822414bd32..f99b5374a65a56e9abf54ad53766677e30e9c51b 100644 (file)
@@ -18,8 +18,8 @@
 */
 
 
-#ifndef _ZEND_EXTENSIONS_H
-#define _ZEND_EXTENSIONS_H
+#ifndef ZEND_EXTENSIONS_H
+#define ZEND_EXTENSIONS_H
 
 #include "zend_compile.h"
 
@@ -94,4 +94,4 @@ void zend_append_version_info(zend_extension *extension);
 int zend_startup_extensions(void);
 void zend_shutdown_extensions(void);
 
-#endif /* _ZEND_EXTENSIONS_H */
+#endif /* ZEND_EXTENSIONS_H */
index ab238b2d117d9987f55d0f598d90d86c3de5e70f..883bb589eecc82338795ae29490f53c51f45451a 100644 (file)
@@ -18,8 +18,8 @@
 */
 
 
-#ifndef _ZEND_FAST_CACHE_H
-#define _ZEND_FAST_CACHE_H
+#ifndef ZEND_FAST_CACHE_H
+#define ZEND_FAST_CACHE_H
 
 #ifndef ZEND_ENABLE_FAST_CACHE
 # if ZEND_DEBUG
@@ -130,7 +130,7 @@ typedef struct _zend_fast_cache_list_entry {
 #define FREE_HASHTABLE_REL(ht) \
        ZEND_FAST_FREE_REL(ht, HASHTABLE_CACHE_LIST)
 
-#endif /* _ZEND_FAST_CACHE_H */
+#endif /* ZEND_FAST_CACHE_H */
 
 /*
  * Local variables:
index 8735da4bf0576e150fa9af97500408f03298e1a3..62e83a65e0cfdc2a71330546d1870c74ccfb9285 100644 (file)
@@ -18,8 +18,8 @@
 */
 
 
-#ifndef _ZEND_GLOBALS_MACROS_H
-#define _ZEND_GLOBALS_MACROS_H
+#ifndef ZEND_GLOBALS_MACROS_H
+#define ZEND_GLOBALS_MACROS_H
 
 typedef struct _zend_compiler_globals zend_compiler_globals;
 typedef struct _zend_executor_globals zend_executor_globals;
@@ -85,5 +85,5 @@ extern ZEND_API zend_executor_globals executor_globals;
 extern ZEND_API zend_alloc_globals alloc_globals;
 #endif
 
-#endif /* _ZEND_GLOBALS_MACROS_H */
+#endif /* ZEND_GLOBALS_MACROS_H */
 
index a4fa3f0520fe825b8ce66df34d6f36234fb37c9a..e7d820d22cba3bfeea11e66fc0c07042afb10eb2 100644 (file)
@@ -18,9 +18,9 @@
 */
 
 
-#ifndef _ZEND_INDENT_H
-#define _ZEND_INDENT_H
+#ifndef ZEND_INDENT_H
+#define ZEND_INDENT_H
 
 ZEND_API void zend_indent(void);
 
-#endif /* _ZEND_INDENT_H */
+#endif /* ZEND_INDENT_H */
index 476708d69cfab2452939d92ef4399e0457ea52b7..2e8033185586acb2b804041f137094571fc8ed7d 100644 (file)
@@ -18,8 +18,8 @@
 */
 
 
-#ifndef _ZEND_LLIST_H
-#define _ZEND_LLIST_H
+#ifndef ZEND_LLIST_H
+#define ZEND_LLIST_H
 
 #include <stdlib.h>
 
@@ -73,4 +73,4 @@ ZEND_API void *zend_llist_get_prev_ex(zend_llist *l, zend_llist_position *pos);
 
 END_EXTERN_C()
 
-#endif /* _ZEND_LLIST_H */
+#endif /* ZEND_LLIST_H */
index 16d918c75bd0909a1d66fa393a6f932726c245c0..1586630af18c4e3369d640d68b2028f56386f2d3 100644 (file)
@@ -18,8 +18,8 @@
 */
 
 
-#ifndef _MODULES_H
-#define _MODULES_H
+#ifndef MODULES_H
+#define MODULES_H
 
 #define INIT_FUNC_ARGS         int type, int module_number ELS_DC
 #define INIT_FUNC_ARGS_PASSTHRU        type, module_number ELS_CC
index d15268829bc84291851b382588c9fa12ab761e08..b19feaccf5e2e9842c325fd7029328b0007eea27 100644 (file)
@@ -18,8 +18,8 @@
 */
 
 
-#ifndef _ZEND_PTR_STACK_H
-#define _ZEND_PTR_STACK_H
+#ifndef ZEND_PTR_STACK_H
+#define ZEND_PTR_STACK_H
 
 typedef struct _zend_ptr_stack {
        int top, max;
@@ -40,4 +40,4 @@ ZEND_API void zend_ptr_stack_apply(zend_ptr_stack *stack, void (*func)(void *));
 ZEND_API void zend_ptr_stack_clean(zend_ptr_stack *stack, void (*func)(void *), zend_bool free_elements);
 ZEND_API int zend_ptr_stack_num_elements(zend_ptr_stack *stack);
 
-#endif /* _ZEND_PTR_STACK_H */
+#endif /* ZEND_PTR_STACK_H */
index 9304f647d98c1f4e104fea81ceac49a5ffaa7324..a57b9ebe502cf65136d399cd31de5f23419dc87b 100644 (file)
@@ -18,8 +18,8 @@
 */
 
 
-#ifndef _ZEND_STACK_H
-#define _ZEND_STACK_H
+#ifndef ZEND_STACK_H
+#define ZEND_STACK_H
 
 typedef struct _zend_stack {
        int top, max;
@@ -44,4 +44,4 @@ ZEND_API void zend_stack_apply_with_argument(zend_stack *stack, int type, int (*
 #define ZEND_STACK_APPLY_TOPDOWN       1
 #define ZEND_STACK_APPLY_BOTTOMUP      2
 
-#endif /* _ZEND_STACK_H */
+#endif /* ZEND_STACK_H */