summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2015-05-20 18:51:19 +0200
committerAnatol Belski <ab@php.net>2015-05-20 19:14:05 +0200
commita6190359adc931e46a81e7603b80311654ff3ac1 (patch)
treee7701843a6324b6aedefd4d1d4e56db0154c1e30
parenta233af16b9c8c26583271498db404585582ef036 (diff)
downloadphp-git-a6190359adc931e46a81e7603b80311654ff3ac1.tar.gz
add vim modelines
-rw-r--r--win32/fnmatch.c9
-rw-r--r--win32/glob.c9
-rw-r--r--win32/globals.c8
-rw-r--r--win32/inet.c9
-rw-r--r--win32/readdir.c9
-rw-r--r--win32/registry.c9
-rw-r--r--win32/sendmail.c9
-rw-r--r--win32/sockets.c9
-rw-r--r--win32/time.c8
-rw-r--r--win32/winutil.c8
-rw-r--r--win32/wsyslog.c9
11 files changed, 96 insertions, 0 deletions
diff --git a/win32/fnmatch.c b/win32/fnmatch.c
index 590d23f5f9..c3bc5bc5e2 100644
--- a/win32/fnmatch.c
+++ b/win32/fnmatch.c
@@ -196,3 +196,12 @@ 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/glob.c b/win32/glob.c
index 43884509ce..8a631cef87 100644
--- a/win32/glob.c
+++ b/win32/glob.c
@@ -929,3 +929,12 @@ 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/globals.c b/win32/globals.c
index 485f0f31bb..37a55bde46 100644
--- a/win32/globals.c
+++ b/win32/globals.c
@@ -78,3 +78,11 @@ 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/inet.c b/win32/inet.c
index 686cf1265c..ec8018a990 100644
--- a/win32/inet.c
+++ b/win32/inet.c
@@ -9,3 +9,12 @@ 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/readdir.c b/win32/readdir.c
index b94b570cf4..fc2c4357ff 100644
--- a/win32/readdir.c
+++ b/win32/readdir.c
@@ -166,3 +166,12 @@ int rewinddir(DIR *dp)
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/registry.c b/win32/registry.c
index 016781776c..982d09c02d 100644
--- a/win32/registry.c
+++ b/win32/registry.c
@@ -281,3 +281,12 @@ 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/sendmail.c b/win32/sendmail.c
index b8d18d195e..e6be028091 100644
--- a/win32/sendmail.c
+++ b/win32/sendmail.c
@@ -977,3 +977,12 @@ 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/sockets.c b/win32/sockets.c
index 4ad84ab946..e56836468a 100644
--- a/win32/sockets.c
+++ b/win32/sockets.c
@@ -90,3 +90,12 @@ 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/time.c b/win32/time.c
index b65a92c771..e437da995c 100644
--- a/win32/time.c
+++ b/win32/time.c
@@ -200,3 +200,11 @@ PHPAPI int setitimer(int which, const struct itimerval *value, struct itimerval
#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/winutil.c b/win32/winutil.c
index 488c8cbc57..2faa0d9e7d 100644
--- a/win32/winutil.c
+++ b/win32/winutil.c
@@ -123,3 +123,11 @@ PHPAPI int php_win32_get_random_bytes(unsigned char *buf, size_t size) { /* {{{
}
/* }}} */
+/*
+ * 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 8244fa12f7..6b0f03e8ea 100644
--- a/win32/wsyslog.c
+++ b/win32/wsyslog.c
@@ -127,3 +127,12 @@ void openlog(const char *ident, int logopt, int facility)
PW32G(log_source) = RegisterEventSource(NULL, "PHP-" PHP_VERSION);
spprintf(&PW32G(log_header), 0, (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
+ */