diff options
author | Rasmus Lerdorf <rasmus@php.net> | 1999-10-29 17:33:19 +0000 |
---|---|---|
committer | Rasmus Lerdorf <rasmus@php.net> | 1999-10-29 17:33:19 +0000 |
commit | f160ee878256c37d21bf6de225da5978e6fcadb9 (patch) | |
tree | 658578b7ae32b1ef52ca12f15bd46bc88e7b58ca | |
parent | a3a7413be83521d02e397e48efc8ecbb34045c12 (diff) | |
download | php-git-f160ee878256c37d21bf6de225da5978e6fcadb9.tar.gz |
Kill the regex header file warnings
-rw-r--r-- | ext/ereg/php_regex.h | 1 | ||||
-rw-r--r-- | ext/ereg/regex/regex.h | 8 | ||||
-rw-r--r-- | ext/standard/dl.c | 2 | ||||
-rw-r--r-- | main/php_regex.h | 1 | ||||
-rw-r--r-- | regex/regex.h | 8 |
5 files changed, 11 insertions, 9 deletions
diff --git a/ext/ereg/php_regex.h b/ext/ereg/php_regex.h index 9ed80d84b8..ff7b5cfcb1 100644 --- a/ext/ereg/php_regex.h +++ b/ext/ereg/php_regex.h @@ -4,6 +4,7 @@ #if REGEX #include "regex/regex.h" #define _REGEX_H 1 /* this should stop Apache from loading the system version of regex.h */ +#define _REGEX_H_ 1 #define _RX_H 1 /* Try defining these for Linux to */ #define __REGEXP_LIBRARY_H__ 1 /* avoid Apache including regex.h */ #define _H_REGEX 1 /* This one is for AIX */ diff --git a/ext/ereg/regex/regex.h b/ext/ereg/regex/regex.h index 28638e44c9..985ad02959 100644 --- a/ext/ereg/regex/regex.h +++ b/ext/ereg/regex/regex.h @@ -1,7 +1,7 @@ -#ifndef _REGEX_H_ -#define _REGEX_H_ -#ifndef _REGEX_H -#define _REGEX_H /* never again */ +#ifndef _HSREGEX_H_ +#define _HSREGEX_H_ +#ifndef _HSREGEX_H +#define _HSREGEX_H /* never again */ /* ========= begin header generated by ././mkh ========= */ #ifdef __cplusplus extern "C" { diff --git a/ext/standard/dl.c b/ext/standard/dl.c index 4fe4c38687..e342995855 100644 --- a/ext/standard/dl.c +++ b/ext/standard/dl.c @@ -123,7 +123,7 @@ void php_dl(pval *file,int type,pval *return_value) if (!get_module) { dlclose(handle); - php_error(E_CORE_WARNING,"Invalid library (maybe not a PHP3 library) '%s' ",file->value.str.val); + php_error(E_CORE_WARNING,"Invalid library (maybe not a PHP library) '%s' ",file->value.str.val); RETURN_FALSE; } module_entry = get_module(); diff --git a/main/php_regex.h b/main/php_regex.h index 9ed80d84b8..ff7b5cfcb1 100644 --- a/main/php_regex.h +++ b/main/php_regex.h @@ -4,6 +4,7 @@ #if REGEX #include "regex/regex.h" #define _REGEX_H 1 /* this should stop Apache from loading the system version of regex.h */ +#define _REGEX_H_ 1 #define _RX_H 1 /* Try defining these for Linux to */ #define __REGEXP_LIBRARY_H__ 1 /* avoid Apache including regex.h */ #define _H_REGEX 1 /* This one is for AIX */ diff --git a/regex/regex.h b/regex/regex.h index 28638e44c9..985ad02959 100644 --- a/regex/regex.h +++ b/regex/regex.h @@ -1,7 +1,7 @@ -#ifndef _REGEX_H_ -#define _REGEX_H_ -#ifndef _REGEX_H -#define _REGEX_H /* never again */ +#ifndef _HSREGEX_H_ +#define _HSREGEX_H_ +#ifndef _HSREGEX_H +#define _HSREGEX_H /* never again */ /* ========= begin header generated by ././mkh ========= */ #ifdef __cplusplus extern "C" { |