summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authorPeter Kokot <peterkokot@gmail.com>2019-01-22 21:39:32 +0100
committerPeter Kokot <peterkokot@gmail.com>2019-02-03 21:03:00 +0100
commit92ac598aabd336593a47ed3959f1031674b763e6 (patch)
treeeef6b7c4fca17f69cdc9a612b67af4665abf98ed /win32
parent020ca5bf2b91f613f86df5e819a0419f8f3c8722 (diff)
downloadphp-git-92ac598aabd336593a47ed3959f1031674b763e6.tar.gz
Remove local variables
This patch removes the so called local variables defined per file basis for certain editors to properly show tab width, and similar settings. These are mainly used by Vim and Emacs editors yet with recent changes the once working definitions don't work anymore in Vim without custom plugins or additional configuration. Neither are these settings synced across the PHP code base. A simpler and better approach is EditorConfig and fixing code using some code style fixing tools in the future instead. This patch also removes the so called modelines for Vim. Modelines allow Vim editor specifically to set some editor configuration such as syntax highlighting, indentation style and tab width to be set in the first line or the last 5 lines per file basis. Since the php test files have syntax highlighting already set in most editors properly and EditorConfig takes care of the indentation settings, this patch removes these as well for the Vim 6.0 and newer versions. With the removal of local variables for certain editors such as Emacs and Vim, the footer is also probably not needed anymore when creating extensions using ext_skel.php script. Additionally, Vim modelines for setting php syntax and some editor settings has been removed from some *.phpt files. All these are mostly not relevant for phpt files neither work properly in the middle of the file.
Diffstat (limited to 'win32')
-rw-r--r--win32/build/deplister.c9
-rw-r--r--win32/codepage.c8
-rw-r--r--win32/codepage.h9
-rw-r--r--win32/console.c9
-rw-r--r--win32/console.h9
-rw-r--r--win32/cp_enc_map_gen.c9
-rw-r--r--win32/dllmain.c9
-rw-r--r--win32/fnmatch.c9
-rw-r--r--win32/fnmatch.h9
-rw-r--r--win32/ftok.c9
-rw-r--r--win32/getrusage.c9
-rw-r--r--win32/getrusage.h9
-rw-r--r--win32/glob.c9
-rw-r--r--win32/glob.h9
-rw-r--r--win32/globals.c9
-rw-r--r--win32/grp.h9
-rw-r--r--win32/inet.c9
-rw-r--r--win32/inet.h9
-rw-r--r--win32/ioutil.c9
-rw-r--r--win32/ioutil.h9
-rw-r--r--win32/ipc.h9
-rw-r--r--win32/nice.c9
-rw-r--r--win32/nice.h9
-rw-r--r--win32/param.h9
-rw-r--r--win32/php_inttypes.h9
-rw-r--r--win32/php_registry.h9
-rw-r--r--win32/php_stdbool.h9
-rw-r--r--win32/php_stdint.h9
-rw-r--r--win32/php_win32_globals.h9
-rw-r--r--win32/readdir.c9
-rw-r--r--win32/readdir.h9
-rw-r--r--win32/registry.c9
-rw-r--r--win32/resource.h9
-rw-r--r--win32/select.c9
-rw-r--r--win32/select.h9
-rw-r--r--win32/sendmail.c9
-rw-r--r--win32/sendmail.h9
-rw-r--r--win32/signal.h9
-rw-r--r--win32/sockets.c9
-rw-r--r--win32/sockets.h9
-rw-r--r--win32/syslog.h9
-rw-r--r--win32/time.c9
-rw-r--r--win32/time.h9
-rw-r--r--win32/unistd.h9
-rw-r--r--win32/winutil.c9
-rw-r--r--win32/winutil.h9
-rw-r--r--win32/wsyslog.c8
47 files changed, 0 insertions, 421 deletions
diff --git a/win32/build/deplister.c b/win32/build/deplister.c
index 007844226d..b5dd059c98 100644
--- a/win32/build/deplister.c
+++ b/win32/build/deplister.c
@@ -48,12 +48,3 @@ int main(int argc, char *argv[])
return BindImageEx(BIND_NO_BOUND_IMPORTS | BIND_NO_UPDATE | BIND_ALL_IMAGES,
argv[1], NULL, argv[2], StatusRoutine);
}
-
-/*
- * Local variables:
- * tab-width: 4
- * c-basic-offset: 4
- * End:
- * vim600: noet sw=4 ts=4 fdm=marker
- * vim<600: noet sw=4 ts=4
- */
diff --git a/win32/codepage.c b/win32/codepage.c
index b5cc59205d..839ba6d447 100644
--- a/win32/codepage.c
+++ b/win32/codepage.c
@@ -705,11 +705,3 @@ PHP_FUNCTION(sapi_windows_cp_conv)
/* }}} */
/* }}} */
-/*
- * Local variables:
- * tab-width: 4
- * c-basic-offset: 4
- * End:
- * vim600: sw=4 ts=4 fdm=marker
- * vim<600: sw=4 ts=4
- */
diff --git a/win32/codepage.h b/win32/codepage.h
index 02f6c582e2..0dd72562b6 100644
--- a/win32/codepage.h
+++ b/win32/codepage.h
@@ -151,12 +151,3 @@ __forceinline static char *php_win32_cp_conv_w_to_any(const wchar_t* in, size_t
#endif
#endif /* PHP_WIN32_CODEPAGE_H */
-
-/*
- * Local variables:
- * tab-width: 4
- * c-basic-offset: 4
- * End:
- * vim600: sw=4 ts=4 fdm=marker
- * vim<600: sw=4 ts=4
- */
diff --git a/win32/console.c b/win32/console.c
index 6e8d730ad0..27dbd4548d 100644
--- a/win32/console.c
+++ b/win32/console.c
@@ -108,12 +108,3 @@ PHP_WINUTIL_API BOOL php_win32_console_is_own(void)
return FALSE;
}/*}}}*/
-
-/*
- * Local variables:
- * tab-width: 4
- * c-basic-offset: 4
- * End:
- * vim600: sw=4 ts=4 fdm=marker
- * vim<600: sw=4 ts=4
- */
diff --git a/win32/console.h b/win32/console.h
index 66007d0b98..5e50eef8b1 100644
--- a/win32/console.h
+++ b/win32/console.h
@@ -60,12 +60,3 @@ PHP_WINUTIL_API BOOL php_win32_console_fileno_set_vt100(zend_long fileno, BOOL e
PHP_WINUTIL_API BOOL php_win32_console_is_own(void);
#endif
-
-/*
- * Local variables:
- * tab-width: 4
- * c-basic-offset: 4
- * End:
- * vim600: sw=4 ts=4 fdm=marker
- * vim<600: sw=4 ts=4
- */
diff --git a/win32/cp_enc_map_gen.c b/win32/cp_enc_map_gen.c
index 34861d148b..bd2f108287 100644
--- a/win32/cp_enc_map_gen.c
+++ b/win32/cp_enc_map_gen.c
@@ -246,12 +246,3 @@ main(int argc, char **argv)
return 0;
}
-
-/*
- * Local variables:
- * tab-width: 4
- * c-basic-offset: 4
- * End:
- * vim600: sw=4 ts=4 fdm=marker
- * vim<600: sw=4 ts=4
- */
diff --git a/win32/dllmain.c b/win32/dllmain.c
index 6714bff25a..4743f732e9 100644
--- a/win32/dllmain.c
+++ b/win32/dllmain.c
@@ -86,12 +86,3 @@ BOOL WINAPI DllMain(HINSTANCE inst, DWORD reason, LPVOID dummy)
return ret;
}
-
-/*
- * Local variables:
- * tab-width: 4
- * c-basic-offset: 4
- * End:
- * vim600: sw=4 ts=4 fdm=marker
- * vim<600: sw=4 ts=4
- */
diff --git a/win32/fnmatch.c b/win32/fnmatch.c
index 9017b3e19c..296a1a5ca1 100644
--- a/win32/fnmatch.c
+++ b/win32/fnmatch.c
@@ -195,12 +195,3 @@ rangematch(const char *pattern, char test, int flags)
}
return (ok == negate ? NULL : pattern);
}
-
-/*
- * Local variables:
- * tab-width: 4
- * c-basic-offset: 4
- * End:
- * vim600: sw=4 ts=4 fdm=marker
- * vim<600: sw=4 ts=4
- */
diff --git a/win32/fnmatch.h b/win32/fnmatch.h
index c149e89402..03a828d054 100644
--- a/win32/fnmatch.h
+++ b/win32/fnmatch.h
@@ -51,12 +51,3 @@
PHPAPI int fnmatch(const char *pattern, const char *string, int flags);
#endif /* !_FNMATCH_H_ */
-
-/*
- * Local variables:
- * tab-width: 4
- * c-basic-offset: 4
- * End:
- * vim600: sw=4 ts=4 fdm=marker
- * vim<600: sw=4 ts=4
- */
diff --git a/win32/ftok.c b/win32/ftok.c
index f8c05b2e7a..db789f8b70 100644
--- a/win32/ftok.c
+++ b/win32/ftok.c
@@ -60,12 +60,3 @@ ftok(const char *pathname, int proj_id)
return ret;
}/*}}}*/
-
-/*
- * Local variables:
- * tab-width: 4
- * c-basic-offset: 4
- * End:
- * vim600: sw=4 ts=4 fdm=marker
- * vim<600: sw=4 ts=4
- */
diff --git a/win32/getrusage.c b/win32/getrusage.c
index bab9c82925..de67f7f8d2 100644
--- a/win32/getrusage.c
+++ b/win32/getrusage.c
@@ -73,12 +73,3 @@ PHPAPI int getrusage(int who, struct rusage *usage)
return -1;
}
}
-
-/*
- * Local variables:
- * tab-width: 4
- * c-basic-offset: 4
- * End:
- * vim600: sw=4 ts=4 fdm=marker
- * vim<600: sw=4 ts=4
- */
diff --git a/win32/getrusage.h b/win32/getrusage.h
index 8f4928d450..c41c026aa2 100644
--- a/win32/getrusage.h
+++ b/win32/getrusage.h
@@ -114,12 +114,3 @@ struct rusage
PHPAPI int getrusage(int who, struct rusage *usage);
#endif
-
-/*
- * Local variables:
- * tab-width: 4
- * c-basic-offset: 4
- * End:
- * vim600: sw=4 ts=4 fdm=marker
- * vim<600: sw=4 ts=4
- */
diff --git a/win32/glob.c b/win32/glob.c
index a0845e803d..578284cb3d 100644
--- a/win32/glob.c
+++ b/win32/glob.c
@@ -923,12 +923,3 @@ qprintf(str, s)
(void)printf("\n");
}
#endif
-
-/*
- * Local variables:
- * tab-width: 4
- * c-basic-offset: 4
- * End:
- * vim600: sw=4 ts=4 fdm=marker
- * vim<600: sw=4 ts=4
- */
diff --git a/win32/glob.h b/win32/glob.h
index 946c2ecae8..42cf2f9d71 100644
--- a/win32/glob.h
+++ b/win32/glob.h
@@ -100,12 +100,3 @@ PHPAPI int glob(const char *, int, int (*)(const char *, int), glob_t *);
PHPAPI void globfree(glob_t *);
END_EXTERN_C()
#endif /* !_GLOB_H_ */
-
-/*
- * Local variables:
- * tab-width: 4
- * c-basic-offset: 4
- * End:
- * vim600: sw=4 ts=4 fdm=marker
- * vim<600: sw=4 ts=4
- */
diff --git a/win32/globals.c b/win32/globals.c
index 20464c6c81..9bb392f42a 100644
--- a/win32/globals.c
+++ b/win32/globals.c
@@ -67,12 +67,3 @@ PHP_RSHUTDOWN_FUNCTION(win32_core_globals)
return SUCCESS;
}/*}}}*/
-
-/*
- * Local variables:
- * tab-width: 4
- * c-basic-offset: 4
- * End:
- * vim600: sw=4 ts=4 fdm=marker
- * vim<600: sw=4 ts=4
- */
diff --git a/win32/grp.h b/win32/grp.h
index b25e61e3ba..301babed4e 100644
--- a/win32/grp.h
+++ b/win32/grp.h
@@ -27,12 +27,3 @@ struct group {
};
#endif
-
-/*
- * Local variables:
- * tab-width: 4
- * c-basic-offset: 4
- * End:
- * vim600: sw=4 ts=4 fdm=marker
- * vim<600: sw=4 ts=4
- */
diff --git a/win32/inet.c b/win32/inet.c
index 47af376436..7361b89bc2 100644
--- a/win32/inet.c
+++ b/win32/inet.c
@@ -27,12 +27,3 @@ int inet_aton(const char *cp, struct in_addr *inp) {
return 1;
}
-
-/*
- * Local variables:
- * tab-width: 4
- * c-basic-offset: 4
- * End:
- * vim600: sw=4 ts=4 fdm=marker
- * vim<600: sw=4 ts=4
- */
diff --git a/win32/inet.h b/win32/inet.h
index 460543c7cf..b57d78903d 100644
--- a/win32/inet.h
+++ b/win32/inet.h
@@ -25,12 +25,3 @@
PHPAPI int inet_aton(const char *cp, struct in_addr *inp);
#endif
-
-/*
- * Local variables:
- * tab-width: 4
- * c-basic-offset: 4
- * End:
- * vim600: sw=4 ts=4 fdm=marker
- * vim<600: sw=4 ts=4
- */
diff --git a/win32/ioutil.c b/win32/ioutil.c
index 69df638133..7288ea353a 100644
--- a/win32/ioutil.c
+++ b/win32/ioutil.c
@@ -1142,12 +1142,3 @@ PW32IO ssize_t php_win32_ioutil_readlink_w(const wchar_t *path, wchar_t *buf, si
return ret;
}/*}}}*/
-
-/*
- * Local variables:
- * tab-width: 4
- * c-basic-offset: 4
- * End:
- * vim600: sw=4 ts=4 fdm=marker
- * vim<600: sw=4 ts=4
- */
diff --git a/win32/ioutil.h b/win32/ioutil.h
index 4e3f44d6ce..e2906c65e0 100644
--- a/win32/ioutil.h
+++ b/win32/ioutil.h
@@ -792,12 +792,3 @@ __forceinline static ssize_t php_win32_ioutil_readlink(const char *path, char *b
#endif
#endif /* PHP_WIN32_IOUTIL_H */
-
-/*
- * Local variables:
- * tab-width: 4
- * c-basic-offset: 4
- * End:
- * vim600: sw=4 ts=4 fdm=marker
- * vim<600: sw=4 ts=4
- */
diff --git a/win32/ipc.h b/win32/ipc.h
index 02568b6a79..c7cb476353 100644
--- a/win32/ipc.h
+++ b/win32/ipc.h
@@ -31,12 +31,3 @@ PHP_WIN32_IPC_API key_t ftok(const char *path, int id);
#endif /* PHP_WIN32_IPC_H */
-
-/*
- * Local variables:
- * tab-width: 4
- * c-basic-offset: 4
- * End:
- * vim600: sw=4 ts=4 fdm=marker
- * vim<600: sw=4 ts=4
- */
diff --git a/win32/nice.c b/win32/nice.c
index 96f393f19a..05aae465ed 100644
--- a/win32/nice.c
+++ b/win32/nice.c
@@ -81,12 +81,3 @@ PHPAPI int nice(zend_long p)
return 0;
}
-
-/*
- * Local variables:
- * tab-width: 4
- * c-basic-offset: 4
- * End:
- * vim600: sw=4 ts=4 fdm=marker
- * vim<600: sw=4 ts=4
- */
diff --git a/win32/nice.h b/win32/nice.h
index daadcb3157..385855c2ea 100644
--- a/win32/nice.h
+++ b/win32/nice.h
@@ -22,12 +22,3 @@
PHPAPI int nice(zend_long);
#endif
-
-/*
- * Local variables:
- * tab-width: 4
- * c-basic-offset: 4
- * End:
- * vim600: sw=4 ts=4 fdm=marker
- * vim<600: sw=4 ts=4
- */
diff --git a/win32/param.h b/win32/param.h
index 552323c5b1..b40d966d7f 100644
--- a/win32/param.h
+++ b/win32/param.h
@@ -19,12 +19,3 @@
#define roundup(x,y) ((((x)+((y)-1))/(y))*(y))
#endif
-
-/*
- * Local variables:
- * tab-width: 4
- * c-basic-offset: 4
- * End:
- * vim600: sw=4 ts=4 fdm=marker
- * vim<600: sw=4 ts=4
- */
diff --git a/win32/php_inttypes.h b/win32/php_inttypes.h
index 878d13fffb..20e9c9b775 100644
--- a/win32/php_inttypes.h
+++ b/win32/php_inttypes.h
@@ -311,12 +311,3 @@ imaxdiv_t __cdecl imaxdiv(intmax_t numer, intmax_t denom)
#else
#include <inttypes.h>
#endif
-
-/*
- * Local variables:
- * tab-width: 4
- * c-basic-offset: 4
- * End:
- * vim600: sw=4 ts=4 fdm=marker
- * vim<600: sw=4 ts=4
- */
diff --git a/win32/php_registry.h b/win32/php_registry.h
index df57bb8dfc..f46c482085 100644
--- a/win32/php_registry.h
+++ b/win32/php_registry.h
@@ -24,12 +24,3 @@ void UpdateIniFromRegistry(char *path);
char *GetIniPathFromRegistry();
#endif /* PHP_REGISTRY_H */
-
-/*
- * Local variables:
- * tab-width: 4
- * c-basic-offset: 4
- * End:
- * vim600: sw=4 ts=4 fdm=marker
- * vim<600: sw=4 ts=4
- */
diff --git a/win32/php_stdbool.h b/win32/php_stdbool.h
index 5b73d985ae..cc853c59c1 100644
--- a/win32/php_stdbool.h
+++ b/win32/php_stdbool.h
@@ -9,12 +9,3 @@
# define __bool_true_false_are_defined 1
# endif
#endif /* _STDBOOL_H */
-
-/*
- * Local variables:
- * tab-width: 4
- * c-basic-offset: 4
- * End:
- * vim600: sw=4 ts=4 fdm=marker
- * vim<600: sw=4 ts=4
- */
diff --git a/win32/php_stdint.h b/win32/php_stdint.h
index bc936bf111..e7615f1479 100644
--- a/win32/php_stdint.h
+++ b/win32/php_stdint.h
@@ -263,12 +263,3 @@ static __inline int64_t llabs(int64_t i)
#ifndef u_char
typedef unsigned __int8 u_char;
#endif
-
-/*
- * Local variables:
- * tab-width: 4
- * c-basic-offset: 4
- * End:
- * vim600: sw=4 ts=4 fdm=marker
- * vim<600: sw=4 ts=4
- */
diff --git a/win32/php_win32_globals.h b/win32/php_win32_globals.h
index 113d78e431..bb91f08c50 100644
--- a/win32/php_win32_globals.h
+++ b/win32/php_win32_globals.h
@@ -53,12 +53,3 @@ void php_win32_core_globals_dtor(void *vg);
PHP_RSHUTDOWN_FUNCTION(win32_core_globals);
#endif
-
-/*
- * Local variables:
- * tab-width: 4
- * c-basic-offset: 4
- * End:
- * vim600: sw=4 ts=4 fdm=marker
- * vim<600: sw=4 ts=4
- */
diff --git a/win32/readdir.c b/win32/readdir.c
index 0d46f14a77..5b63d20212 100644
--- a/win32/readdir.c
+++ b/win32/readdir.c
@@ -238,12 +238,3 @@ int rewinddir(DIR *dp)
#ifdef __cplusplus
}
#endif
-
-/*
- * Local variables:
- * tab-width: 4
- * c-basic-offset: 4
- * End:
- * vim600: sw=4 ts=4 fdm=marker
- * vim<600: sw=4 ts=4
- */
diff --git a/win32/readdir.h b/win32/readdir.h
index 8e26cbadb6..a39b6d4865 100644
--- a/win32/readdir.h
+++ b/win32/readdir.h
@@ -48,12 +48,3 @@ int rewinddir(DIR *);
#endif
#endif /* READDIR_H */
-
-/*
- * Local variables:
- * tab-width: 4
- * c-basic-offset: 4
- * End:
- * vim600: sw=4 ts=4 fdm=marker
- * vim<600: sw=4 ts=4
- */
diff --git a/win32/registry.c b/win32/registry.c
index a6ded4898f..99c3ce365f 100644
--- a/win32/registry.c
+++ b/win32/registry.c
@@ -299,12 +299,3 @@ char *GetIniPathFromRegistry()
}
return reg_location;
}/*}}}*/
-
-/*
- * Local variables:
- * tab-width: 4
- * c-basic-offset: 4
- * End:
- * vim600: sw=4 ts=4 fdm=marker
- * vim<600: sw=4 ts=4
- */
diff --git a/win32/resource.h b/win32/resource.h
index 05e3111512..671434a225 100644
--- a/win32/resource.h
+++ b/win32/resource.h
@@ -18,12 +18,3 @@
#endif
#endif
-
-/*
- * Local variables:
- * tab-width: 4
- * c-basic-offset: 4
- * End:
- * vim600: sw=4 ts=4 fdm=marker
- * vim<600: sw=4 ts=4
- */
diff --git a/win32/select.c b/win32/select.c
index 0396a656cf..810130c970 100644
--- a/win32/select.c
+++ b/win32/select.c
@@ -164,12 +164,3 @@ PHPAPI int php_select(php_socket_t max_fd, fd_set *rfds, fd_set *wfds, fd_set *e
return retcode;
}
-
-/*
- * Local variables:
- * tab-width: 4
- * c-basic-offset: 4
- * End:
- * vim600: noet sw=4 ts=4 fdm=marker
- * vim<600: noet sw=4 ts=4
- */
diff --git a/win32/select.h b/win32/select.h
index eb9c1f8de0..c23eb87ddb 100644
--- a/win32/select.h
+++ b/win32/select.h
@@ -24,12 +24,3 @@
PHPAPI int php_select(php_socket_t max_fd, fd_set *rfds, fd_set *wfds, fd_set *efds, struct timeval *tv);
#endif
-
-/*
- * Local variables:
- * tab-width: 4
- * c-basic-offset: 4
- * End:
- * vim600: noet sw=4 ts=4 fdm=marker
- * vim<600: noet sw=4 ts=4
- */
diff --git a/win32/sendmail.c b/win32/sendmail.c
index 166e44a935..fc901308ba 100644
--- a/win32/sendmail.c
+++ b/win32/sendmail.c
@@ -982,12 +982,3 @@ static int FormatEmailAddress(char* Buf, char* EmailAddress, char* FormatString)
}
return snprintf(Buf, MAIL_BUFFER_SIZE , FormatString , EmailAddress );
} /* end FormatEmailAddress() */
-
-/*
- * Local variables:
- * tab-width: 4
- * c-basic-offset: 4
- * End:
- * vim600: sw=4 ts=4 fdm=marker
- * vim<600: sw=4 ts=4
- */
diff --git a/win32/sendmail.h b/win32/sendmail.h
index 47c89231cb..bb502cb7dd 100644
--- a/win32/sendmail.h
+++ b/win32/sendmail.h
@@ -47,12 +47,3 @@ static int Ack(char **server_response);
static unsigned long GetAddr(LPSTR szHost);
static int FormatEmailAddress(char* Buf, char* EmailAddress, char* FormatString);
#endif /* sendmail_h */
-
-/*
- * Local variables:
- * tab-width: 4
- * c-basic-offset: 4
- * End:
- * vim600: sw=4 ts=4 fdm=marker
- * vim<600: sw=4 ts=4
- */
diff --git a/win32/signal.h b/win32/signal.h
index dd8c1091cc..ec739527ac 100644
--- a/win32/signal.h
+++ b/win32/signal.h
@@ -8,12 +8,3 @@
#define SIGPROF 27 /* profiling time alarm */
#endif /* PHP_WIN32_SIGNAL_H */
-
-/*
- * Local variables:
- * tab-width: 4
- * c-basic-offset: 4
- * End:
- * vim600: sw=4 ts=4 fdm=marker
- * vim<600: sw=4 ts=4
- */
diff --git a/win32/sockets.c b/win32/sockets.c
index 85f2ee5b13..461ce69888 100644
--- a/win32/sockets.c
+++ b/win32/sockets.c
@@ -88,12 +88,3 @@ error:
WSASetLastError(WSAECONNABORTED);
return -1;
}
-
-/*
- * Local variables:
- * tab-width: 4
- * c-basic-offset: 4
- * End:
- * vim600: sw=4 ts=4 fdm=marker
- * vim<600: sw=4 ts=4
- */
diff --git a/win32/sockets.h b/win32/sockets.h
index e3d4d57c50..2e693f8840 100644
--- a/win32/sockets.h
+++ b/win32/sockets.h
@@ -27,12 +27,3 @@
PHPAPI int socketpair(int domain, int type, int protocol, SOCKET sock[2]);
#endif
-
-/*
- * Local variables:
- * tab-width: 4
- * c-basic-offset: 4
- * End:
- * vim600: sw=4 ts=4 fdm=marker
- * vim<600: sw=4 ts=4
- */
diff --git a/win32/syslog.h b/win32/syslog.h
index 7d088efd93..5ea75d8486 100644
--- a/win32/syslog.h
+++ b/win32/syslog.h
@@ -75,12 +75,3 @@ extern void vsyslog(int, const char *, va_list ap);
#endif /* SYSLOG_H */
-
-/*
- * Local variables:
- * tab-width: 4
- * c-basic-offset: 4
- * End:
- * vim600: sw=4 ts=4 fdm=marker
- * vim<600: sw=4 ts=4
- */
diff --git a/win32/time.c b/win32/time.c
index cd5a7affdf..d1fe51458e 100644
--- a/win32/time.c
+++ b/win32/time.c
@@ -117,12 +117,3 @@ PHPAPI int nanosleep( const struct timespec * rqtp, struct timespec * rmtp )
}
return usleep( rqtp->tv_sec * 1000000 + rqtp->tv_nsec / 1000 );
}/*}}}*/
-
-/*
- * Local variables:
- * tab-width: 4
- * c-basic-offset: 4
- * End:
- * vim600: sw=4 ts=4 fdm=marker
- * vim<600: sw=4 ts=4
- */
diff --git a/win32/time.h b/win32/time.h
index 07afae487a..51090ccfd8 100644
--- a/win32/time.h
+++ b/win32/time.h
@@ -61,12 +61,3 @@ void php_win32_init_gettimeofday(void);
#endif
#endif
-
-/*
- * Local variables:
- * tab-width: 4
- * c-basic-offset: 4
- * End:
- * vim600: sw=4 ts=4 fdm=marker
- * vim<600: sw=4 ts=4
- */
diff --git a/win32/unistd.h b/win32/unistd.h
index 3d95ea06c7..0b9446149c 100644
--- a/win32/unistd.h
+++ b/win32/unistd.h
@@ -2,12 +2,3 @@
#define _PHP_WIN32_UNISTD_H
PHPAPI int usleep(unsigned int useconds);
#endif
-
-/*
- * Local variables:
- * tab-width: 4
- * c-basic-offset: 4
- * End:
- * vim600: sw=4 ts=4 fdm=marker
- * vim<600: sw=4 ts=4
- */
diff --git a/win32/winutil.c b/win32/winutil.c
index e658a21d13..cb962fb537 100644
--- a/win32/winutil.c
+++ b/win32/winutil.c
@@ -433,12 +433,3 @@ PHP_WINUTIL_API char *php_win32_get_username(void)
return uname;
}/*}}}*/
-
-/*
- * Local variables:
- * tab-width: 4
- * c-basic-offset: 4
- * End:
- * vim600: sw=4 ts=4 fdm=marker
- * vim<600: sw=4 ts=4
- */
diff --git a/win32/winutil.h b/win32/winutil.h
index f7f23a8599..2899a71292 100644
--- a/win32/winutil.h
+++ b/win32/winutil.h
@@ -56,12 +56,3 @@ PHP_WINUTIL_API int php_win32_code_to_errno(unsigned long w32Err);
PHP_WINUTIL_API char *php_win32_get_username(void);
#endif
-
-/*
- * Local variables:
- * tab-width: 4
- * c-basic-offset: 4
- * End:
- * vim600: sw=4 ts=4 fdm=marker
- * vim<600: sw=4 ts=4
- */
diff --git a/win32/wsyslog.c b/win32/wsyslog.c
index 695c7db8cd..50a34fabf0 100644
--- a/win32/wsyslog.c
+++ b/win32/wsyslog.c
@@ -150,11 +150,3 @@ void openlog(const char *ident, int logopt, int facility)
PW32G(log_header) = malloc(header_len*sizeof(char));
sprintf_s(PW32G(log_header), header_len, (logopt & LOG_PID) ? "%s[%d]" : "%s", ident, getpid());
}
-/*
- * Local variables:
- * tab-width: 4
- * c-basic-offset: 4
- * End:
- * vim600: sw=4 ts=4 fdm=marker
- * vim<600: sw=4 ts=4
- */