diff options
| author | Sascha Schumann <sas@php.net> | 2000-07-02 23:46:51 +0000 |
|---|---|---|
| committer | Sascha Schumann <sas@php.net> | 2000-07-02 23:46:51 +0000 |
| commit | 16017f6d78f130c9cbeef1cb1a34ed20338dec6f (patch) | |
| tree | 845c49da8bfdb068ed1c18bdc648828d84acf637 /ext/dav/php_dav.h | |
| parent | 8adf849dce983c6d5393cc270ad676356ac9427f (diff) | |
| download | php-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/dav/php_dav.h')
| -rw-r--r-- | ext/dav/php_dav.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/ext/dav/php_dav.h b/ext/dav/php_dav.h index 3b0fbed2fb..68468ac395 100644 --- a/ext/dav/php_dav.h +++ b/ext/dav/php_dav.h @@ -29,10 +29,10 @@ /* $Id */ -#ifndef _PHP_DAV_H -# define _PHP_DAV_H +#ifndef PHP_DAV_H +#define PHP_DAV_H -# if HAVE_MOD_DAV +#if HAVE_MOD_DAV typedef struct { int foo; @@ -41,21 +41,21 @@ typedef struct { } phpdav_module; extern zend_module_entry phpdav_module_entry; -# define phpdav_module_ptr &phpdav_module_entry +#define phpdav_module_ptr &phpdav_module_entry int phpdav_mkcol_test_handler(request_rec *); PHP_FUNCTION(dav_set_mkcol_handlers); -# else /* !HAVE_MOD_DAV */ +#else /* !HAVE_MOD_DAV */ -# define phpdav_module_ptr NULL +#define phpdav_module_ptr NULL -# endif /* HAVE_MOD_DAV */ +#endif /* HAVE_MOD_DAV */ #define phpext_dav_ptr phpdav_module_ptr -#endif /* _PHP_DAV_H */ +#endif /* PHP_DAV_H */ /* |
