summaryrefslogtreecommitdiff
path: root/win32
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 /win32
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 'win32')
-rw-r--r--win32/php_registry.h6
-rw-r--r--win32/pwd.h4
-rw-r--r--win32/readdir.h6
-rw-r--r--win32/time.h6
4 files changed, 11 insertions, 11 deletions
diff --git a/win32/php_registry.h b/win32/php_registry.h
index ad722a5607..275d89edd2 100644
--- a/win32/php_registry.h
+++ b/win32/php_registry.h
@@ -1,7 +1,7 @@
-#ifndef _PHP_REGISTRY_H
-#define _PHP_REGISTRY_H
+#ifndef PHP_REGISTRY_H
+#define PHP_REGISTRY_H
void UpdateIniFromRegistry(char *path);
-#endif /* _PHP_REGISTRY_H */ \ No newline at end of file
+#endif /* PHP_REGISTRY_H */
diff --git a/win32/pwd.h b/win32/pwd.h
index d0ae7ac35b..d1f66859d7 100644
--- a/win32/pwd.h
+++ b/win32/pwd.h
@@ -26,8 +26,8 @@
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
*/
-#ifndef _PWD_H_
-#define _PWD_H_
+#ifndef PWD_H
+#define PWD_H
#if 0
/* This is taken care of in Windows-NT/config.h. */
typedef int uid_t;
diff --git a/win32/readdir.h b/win32/readdir.h
index f6c576252c..b0f1ad9e6f 100644
--- a/win32/readdir.h
+++ b/win32/readdir.h
@@ -1,5 +1,5 @@
-#ifndef _READDIR_H
-#define _READDIR_H
+#ifndef READDIR_H
+#define READDIR_H
/*
@@ -41,4 +41,4 @@ int closedir(DIR *);
void rewinddir(DIR *);
-#endif /* _READDIR_H */ \ No newline at end of file
+#endif /* READDIR_H */
diff --git a/win32/time.h b/win32/time.h
index b8f59ceb3a..457d4fa9e0 100644
--- a/win32/time.h
+++ b/win32/time.h
@@ -9,8 +9,8 @@
* Modified by Shane Caraveo for PHP
*
*****************************************************************************/
-#ifndef _DH_TIME_H
-#define _DH_TIME_H
+#ifndef TIME_H
+#define TIME_H
/* Include stuff ************************************************************ */
#include <winsock.h>
@@ -40,4 +40,4 @@ extern int gettimeofday(struct timeval *time_Info, struct timezone *timezone_Inf
extern int setitimer(int which, const struct itimerval *value,
struct itimerval *ovalue);
-#endif \ No newline at end of file
+#endif