summaryrefslogtreecommitdiff
path: root/ext/ereg
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2000-07-02 23:46:51 +0000
committerSascha Schumann <sas@php.net>2000-07-02 23:46:51 +0000
commit16017f6d78f130c9cbeef1cb1a34ed20338dec6f (patch)
tree845c49da8bfdb068ed1c18bdc648828d84acf637 /ext/ereg
parent8adf849dce983c6d5393cc270ad676356ac9427f (diff)
downloadphp-git-16017f6d78f130c9cbeef1cb1a34ed20338dec6f.tar.gz
Change header protection macros to conform to standard.
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.
Diffstat (limited to 'ext/ereg')
-rw-r--r--ext/ereg/php_ereg.h6
-rw-r--r--ext/ereg/php_regex.h6
2 files changed, 6 insertions, 6 deletions
diff --git a/ext/ereg/php_ereg.h b/ext/ereg/php_ereg.h
index 57c403eb09..812717e1ae 100644
--- a/ext/ereg/php_ereg.h
+++ b/ext/ereg/php_ereg.h
@@ -30,8 +30,8 @@
/* $Id$ */
-#ifndef _REG_H
-#define _REG_H
+#ifndef REG_H
+#define REG_H
char *php_reg_replace(const char *pattern, const char *replace, const char *string, int icase, int extended);
@@ -68,4 +68,4 @@ PHP_MINFO_FUNCTION(regex);
#define REGLS_FETCH()
#endif
-#endif /* _REG_H */
+#endif /* REG_H */
diff --git a/ext/ereg/php_regex.h b/ext/ereg/php_regex.h
index f4dc865163..c418c1f576 100644
--- a/ext/ereg/php_regex.h
+++ b/ext/ereg/php_regex.h
@@ -1,5 +1,5 @@
-#ifndef _PHP_REGEX_H
-#define _PHP_REGEX_H
+#ifndef PHP_REGEX_H
+#define PHP_REGEX_H
/*
* REGEX means:
@@ -39,4 +39,4 @@
#endif
#endif
-#endif /* _PHP_REGEX_H */
+#endif /* PHP_REGEX_H */