summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosh Stone <jistone@redhat.com>2009-05-05 11:21:51 -0700
committerJosh Stone <jistone@redhat.com>2009-05-05 11:21:51 -0700
commitd781daa027b2ad6c78f4258734142c97eb40b777 (patch)
treeaf4e57d93a38fe21492435b56c37cabb632b598d
parent7c4e9d57761b10058d36756df3b39039e292812d (diff)
downloadsystemtap-steved-d781daa027b2ad6c78f4258734142c97eb40b777.tar.gz
systemtap-steved-d781daa027b2ad6c78f4258734142c97eb40b777.tar.xz
systemtap-steved-d781daa027b2ad6c78f4258734142c97eb40b777.zip
Add Vim modelines for new C/C++ sources
-rw-r--r--modsign.cxx2
-rw-r--r--modsign.h2
-rw-r--r--nsscommon.c2
-rw-r--r--nsscommon.h2
-rw-r--r--runtime/staprun/modverify.c2
-rw-r--r--runtime/staprun/modverify.h1
6 files changed, 11 insertions, 0 deletions
diff --git a/modsign.cxx b/modsign.cxx
index b66497fd..fafbf1e4 100644
--- a/modsign.cxx
+++ b/modsign.cxx
@@ -552,3 +552,5 @@ sign_module (systemtap_session& s)
/* Shutdown NSS and exit NSPR gracefully. */
nssCleanup ();
}
+
+/* vim: set sw=2 ts=8 cino=>4,n-2,{2,^-2,t0,(0,u0,w1,M1 : */
diff --git a/modsign.h b/modsign.h
index 12b32765..2d39899a 100644
--- a/modsign.h
+++ b/modsign.h
@@ -1 +1,3 @@
void sign_module (systemtap_session& s);
+
+/* vim: set sw=2 ts=8 cino=>4,n-2,{2,^-2,t0,(0,u0,w1,M1 : */
diff --git a/nsscommon.c b/nsscommon.c
index 0a90b963..2e9c748b 100644
--- a/nsscommon.c
+++ b/nsscommon.c
@@ -81,3 +81,5 @@ nssCleanup (void)
NSS_Shutdown ();
PR_Cleanup ();
}
+
+/* vim: set sw=2 ts=8 cino=>4,n-2,{2,^-2,t0,(0,u0,w1,M1 : */
diff --git a/nsscommon.h b/nsscommon.h
index 7f4097e1..c6ab8aa7 100644
--- a/nsscommon.h
+++ b/nsscommon.h
@@ -1,2 +1,4 @@
void nssError (void);
void nssCleanup (void);
+
+/* vim: set sw=2 ts=8 cino=>4,n-2,{2,^-2,t0,(0,u0,w1,M1 : */
diff --git a/runtime/staprun/modverify.c b/runtime/staprun/modverify.c
index 2f3b96d5..b50a69f4 100644
--- a/runtime/staprun/modverify.c
+++ b/runtime/staprun/modverify.c
@@ -387,3 +387,5 @@ int verify_module (const char *module_name, const char *signature_name)
return rc;
}
+
+/* vim: set sw=2 ts=8 cino=>4,n-2,{2,^-2,t0,(0,u0,w1,M1 : */
diff --git a/runtime/staprun/modverify.h b/runtime/staprun/modverify.h
index 9abf62d4..49b90bfe 100644
--- a/runtime/staprun/modverify.h
+++ b/runtime/staprun/modverify.h
@@ -6,3 +6,4 @@ int verify_module (const char *module_name, const char *signature_name);
#define MODULE_CHECK_ERROR -1
#define MODULE_ALTERED -2
+/* vim: set sw=2 ts=8 cino=>4,n-2,{2,^-2,t0,(0,u0,w1,M1 : */