summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 865f2eb)
raw | patch | inline | side by side (parent: 865f2eb)
author | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Fri, 2 Dec 2016 14:50:40 +0000 (15:50 +0100) | ||
committer | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Mon, 5 Dec 2016 19:53:00 +0000 (20:53 +0100) |
They often conflict with the formatting we do with clang-format.
And while we're at it, remove blank lines for end of files too.
And while we're at it, remove blank lines for end of files too.
161 files changed:
diff --git a/src/aggregation.c b/src/aggregation.c
index 4e20d0cff57073462c24981e0e647f8ac93cb46f..8d501f63edf5e405e8c2bdf5cee67800938d7cee 100644 (file)
--- a/src/aggregation.c
+++ b/src/aggregation.c
plugin_register_read("aggregation", agg_read);
plugin_register_write("aggregation", agg_write, /* user_data = */ NULL);
}
-
-/* vim: set sw=2 sts=2 tw=78 et fdm=marker : */
diff --git a/src/amqp.c b/src/amqp.c
index cd07023f4e762cf4c5945c902ebb4cec76ce02a5..4870107cd2758be22e6ac467dbcd653eff24d755 100644 (file)
--- a/src/amqp.c
+++ b/src/amqp.c
plugin_register_complex_config("amqp", camqp_config);
plugin_register_shutdown("amqp", camqp_shutdown);
} /* void module_register */
-
-/* vim: set sw=4 sts=4 et fdm=marker : */
diff --git a/src/apache.c b/src/apache.c
index eaef61b134e9edde6c34d5d4126e1084b1152e62..547d74564684cbeccb20695126e9708ebbe686bf 100644 (file)
--- a/src/apache.c
+++ b/src/apache.c
plugin_register_complex_config("apache", config);
plugin_register_init("apache", apache_init);
} /* void module_register */
-
-/* vim: set sw=8 noet fdm=marker : */
diff --git a/src/aquaero.c b/src/aquaero.c
index 4a78f6859c5fc048ddefbb8a7ac555de94a350a5..22278e03c2b4bde0523d9c3a7904a39583b8dba5 100644 (file)
--- a/src/aquaero.c
+++ b/src/aquaero.c
plugin_register_read("aquaero", aquaero_read);
plugin_register_shutdown("aquaero", aquaero_shutdown);
} /* void module_register */
-
-/* vim: set sw=8 sts=8 noet : */
diff --git a/src/ascent.c b/src/ascent.c
index 840fe8b8477b7f7581a7568664e348b38383ce11..5f0d85e763d335774f96c1dac4e364ab3287ff6f 100644 (file)
--- a/src/ascent.c
+++ b/src/ascent.c
plugin_register_init("ascent", ascent_init);
plugin_register_read("ascent", ascent_read);
} /* void module_register */
-
-/* vim: set sw=2 sts=2 ts=8 et fdm=marker : */
diff --git a/src/bind.c b/src/bind.c
index 9bb662fc2ff731fa1941ec892f80fa12a0eda9da..38761775fa70dac5badbd53e8c859e8594de02ad 100644 (file)
--- a/src/bind.c
+++ b/src/bind.c
plugin_register_read("bind", bind_read);
plugin_register_shutdown("bind", bind_shutdown);
} /* void module_register */
-
-/* vim: set sw=2 sts=2 ts=8 et fdm=marker : */
diff --git a/src/ceph.c b/src/ceph.c
index 4e435b3e251e5ae41c5bd63af05511f90cf3206a..2331e33df6881406e82ad4f2a7e5073614c9a84d 100644 (file)
--- a/src/ceph.c
+++ b/src/ceph.c
plugin_register_read("ceph", ceph_read);
plugin_register_shutdown("ceph", ceph_shutdown);
}
-/* vim: set sw=4 sts=4 et : */
diff --git a/src/ceph_test.c b/src/ceph_test.c
index 3da4098caed46a3766187b715abc6a9a44f063ac..2f65b509385e2f39573d0b520e031c09451f1a4e 100644 (file)
--- a/src/ceph_test.c
+++ b/src/ceph_test.c
END_TEST;
}
-
-/* vim: set sw=2 sts=2 et : */
diff --git a/src/collectd-tg.c b/src/collectd-tg.c
index 7ded64dd5bf05eed8d9627f0bfe4d1d89313c56a..3bde325913c644bd4b48abef02ea89344aef8dad 100644 (file)
--- a/src/collectd-tg.c
+++ b/src/collectd-tg.c
lcc_network_destroy(net);
exit(EXIT_SUCCESS);
} /* }}} int main */
-
-/* vim: set sw=2 sts=2 et fdm=marker : */
diff --git a/src/collectdctl.c b/src/collectdctl.c
index 30d1cdc0e43c449b90b91427ca0d8e45007a5f68..248baadfb00c196463c63adf21aeb857df74f4b2 100644 (file)
--- a/src/collectdctl.c
+++ b/src/collectdctl.c
return (status);
return (0);
} /* main */
-
-/* vim: set sw=2 ts=2 tw=78 expandtab : */
diff --git a/src/collectdmon.c b/src/collectdmon.c
index 9040f8d9d2bd7c737e798b674525e0e48f11983e..4a7d1a6b6fcfc33a43000edf0177b25806b6e856 100644 (file)
--- a/src/collectdmon.c
+++ b/src/collectdmon.c
free(collectd_argv);
return 0;
} /* main */
-
-/* vim: set sw=4 ts=4 tw=78 noexpandtab : */
diff --git a/src/cpu.c b/src/cpu.c
index 9091fef91d475c1630c200769f70cb902a3ebc3e..c0bdd56f5fac741a082fdbe339699675202e9f1a 100644 (file)
--- a/src/cpu.c
+++ b/src/cpu.c
plugin_register_config("cpu", cpu_config, config_keys, config_keys_num);
plugin_register_read("cpu", cpu_read);
} /* void module_register */
-
-/* vim: set sw=8 sts=8 noet fdm=marker : */
diff --git a/src/curl.c b/src/curl.c
index c6f0b60757d08759eaa9e979d80dad8f3049802f..4906d9275462e26b23ca17a585de8ed88a773f60 100644 (file)
--- a/src/curl.c
+++ b/src/curl.c
plugin_register_read("curl", cc_read);
plugin_register_shutdown("curl", cc_shutdown);
} /* void module_register */
-
-/* vim: set sw=2 sts=2 et fdm=marker : */
diff --git a/src/curl_json.c b/src/curl_json.c
index aa1ae7975b66816ec6659c16e4feabd690301808..8e09bd82262bad42d994a4f7d0ce6aaec02d6986 100644 (file)
--- a/src/curl_json.c
+++ b/src/curl_json.c
plugin_register_complex_config("curl_json", cj_config);
plugin_register_init("curl_json", cj_init);
} /* void module_register */
-
-/* vim: set sw=2 sts=2 et fdm=marker : */
diff --git a/src/curl_xml.c b/src/curl_xml.c
index 4e4c6f99adaaa822a1c32543b7b019d7d91a8db8..1c2822771a0928a26e9124bf4800f744037319d4 100644 (file)
--- a/src/curl_xml.c
+++ b/src/curl_xml.c
plugin_register_complex_config("curl_xml", cx_config);
plugin_register_init("curl_xml", cx_init);
} /* void module_register */
-
-/* vim: set sw=2 sts=2 et fdm=marker : */
index 0c96945f487a5faf1a09a0d06f328a37b6a93a16..f18d9fdad41e14c7dc79f69d97f1f0533875ce3f 100644 (file)
--- a/src/daemon/common_test.c
+++ b/src/daemon/common_test.c
END_TEST;
}
-
-/* vim: set sw=2 sts=2 et : */
index 9c4a89c1627580b615b38b9f5fca3aa9cf26bbd7..f21ea32b56ff4f8926b42c95f0c9ca5e189bc1e1 100644 (file)
return (-1);
} /* }}} int fc_configure */
-
-/* vim: set sw=2 sts=2 et fdm=marker : */
index 36ccbae98eb2060f9a23f527c90f902ecb47e743..5cc06fc50be6a1cdcbeaa85b085db6afc269e7b5 100644 (file)
int fc_configure(const oconfig_item_t *ci);
#endif /* FILTER_CHAIN_H */
-/* vim: set sw=2 sts=2 et : */
diff --git a/src/daemon/meta_data.c b/src/daemon/meta_data.c
index 19d17bf823523fee2ea7ac8169f5eab84c635ba0..3ac5370621005d3507207c4287caf2a8225a502f 100644 (file)
--- a/src/daemon/meta_data.c
+++ b/src/daemon/meta_data.c
return (0);
} /* }}} int meta_data_as_string */
-
-/* vim: set sw=2 sts=2 et fdm=marker : */
diff --git a/src/daemon/meta_data.h b/src/daemon/meta_data.h
index 3ef336047ab8705607c90fe09882d2dda88ce7da..50fdb8d61e13155f0b5ab6b44e8e0ea046bc684e 100644 (file)
--- a/src/daemon/meta_data.h
+++ b/src/daemon/meta_data.h
int meta_data_as_string(meta_data_t *md, const char *key, char **value);
#endif /* META_DATA_H */
-/* vim: set sw=2 sts=2 et : */
index 803c7454591b81a671ff49792ff8219fea65bb48..bcd457d42856da13a4308b221fbfc830c3d26e9f 100644 (file)
END_TEST;
}
-
-/* vim: set sw=2 sts=2 et : */
diff --git a/src/daemon/plugin.c b/src/daemon/plugin.c
index c89f1ed18fa9c82ea9bb3931f3a56ef977324d47..c8fc15a14866c9982b9ba3b6f9000b959545a2cb 100644 (file)
--- a/src/daemon/plugin.c
+++ b/src/daemon/plugin.c
return 0;
} /* int plugin_thread_create */
-
-/* vim: set sw=8 ts=8 noet fdm=marker : */
index 558921d5ebaf77bc41eb16edf1dd6f1086c288d0..9e7ba39ef44bdc113b9fc0d9c2f5893e5ab4d44a 100644 (file)
--- a/src/daemon/plugin_mock.c
+++ b/src/daemon/plugin_mock.c
}
cdtime_t plugin_get_interval(void) { return TIME_T_TO_CDTIME_T(10); }
-
-/* vim: set sw=2 sts=2 et : */
index b1a7203c934f87795701425d8c95425d138a04bf..b053157154cf74d18e012ed45152ddf73759233b 100644 (file)
--- a/src/daemon/types_list.c
+++ b/src/daemon/types_list.c
return (0);
} /* int read_types_list */
-
-/*
- * vim: shiftwidth=2:softtabstop=2:tabstop=8
- */
index 0a84f6f9b1899c6b7cc32e2f362765750daaab60..345f97bf4c3cb8efd51fd9be91d287996344455c 100644 (file)
END_TEST;
}
-
-/* vim: set sw=2 sts=2 et : */
index fe0e083e43aabb44832acf0ef5312f41e91bf29d..0caf22c550304fa49bd20f95548d418c35da825b 100644 (file)
--- a/src/daemon/utils_cache.c
+++ b/src/daemon/utils_cache.c
const char *key, _Bool *value)
UC_WRAP(meta_data_get_boolean)
#undef UC_WRAP
-
- /* vim: set sw=2 ts=8 sts=2 tw=78 : */
index 2f408734fb7efdea856d1dd8d08579c572a1c07a..24c58ff77ce95c54bba425842569322182631a68 100644 (file)
--- a/src/daemon/utils_cache.h
+++ b/src/daemon/utils_cache.h
int uc_meta_data_get_boolean(const value_list_t *vl, const char *key,
_Bool *value);
-/* vim: set shiftwidth=2 softtabstop=2 tabstop=8 : */
#endif /* !UTILS_CACHE_H */
index fb4524310fd208063b274a3817a05ffab5772221..d2162ba7253eb98675016cb890b4c58f2a26a4b0 100644 (file)
plugin_log(level, "%s", message);
} /* c_release */
-
-/* vim: set sw=4 ts=4 tw=78 noexpandtab : */
index fbeea90f52d34eb63c45af04ac2c543f3547c891..46d3a1987555bd64fe1f10fa7da5c7c907766d8b 100644 (file)
} while (0)
#endif /* UTILS_COMPLAIN_H */
-
-/* vim: set sw=4 ts=4 tw=78 noexpandtab : */
index 8dd501da89a625a79ddcf31ed04bdcb318c22fb9..3bae48ee2f03ebc4c5ada00c450544e07a02299b 100644 (file)
--- a/src/daemon/utils_heap.c
+++ b/src/daemon/utils_heap.c
return (ret);
} /* void *c_heap_get_root */
-
-/* vim: set sw=2 sts=2 et fdm=marker : */
index 2f77cc450720be2a52738583cddaf1e4eaadcf8e..d2d70cdc63f60181d149902b671899f1a7155f54 100644 (file)
--- a/src/daemon/utils_heap.h
+++ b/src/daemon/utils_heap.h
void *c_heap_get_root(c_heap_t *h);
#endif /* UTILS_HEAP_H */
-/* vim: set sw=2 sts=2 et : */
index 8443b60551dd13628283a57ca7e492827847bb7f..dec84f94bf0377b9b44118f47e54248db12eb590 100644 (file)
END_TEST;
}
-
-/* vim: set sw=2 sts=2 et : */
index 7056c5f0fd3bb02f3131e5ee571649b1ff309090..523534324649ea0f807fcf3208219e1ac723b12b 100644 (file)
--- a/src/daemon/utils_subst.c
+++ b/src/daemon/utils_subst.c
return (buf);
} /* char *subst_string */
-
-/* vim: set sw=4 ts=4 tw=78 noexpandtab : */
index 025f8d4e0fb8ac8df62276d6eed1bf71cf30b56c..a10b258902d3e4b0c61c34b30e3049508e415a34 100644 (file)
--- a/src/daemon/utils_subst.h
+++ b/src/daemon/utils_subst.h
const char *needle, const char *replacement);
#endif /* UTILS_SUBST_H */
-
-/* vim: set sw=4 ts=4 tw=78 noexpandtab : */
index e335b501f76448dc0f66f8623c7a923e2c1c06b0..00ea0eae2d81ea61cae355c20c004c83d13c73be 100644 (file)
END_TEST;
}
-
-/* vim: set sw=2 sts=2 et : */
index 585ad12a7e1385b87ec8d033e5137cd5066b1a85..cefc6e2ca60bffc28484d57a79650be33d5b2913 100644 (file)
int ut_search_threshold(const value_list_t *vl, threshold_t *ret_threshold);
#endif /* UTILS_THRESHOLD_H */
-
-/* vim: set sw=2 sts=2 ts=8 : */
index 9ba2b5a14bb524a1e70a4844fb7f8811b9d481f7..815d9697fd3d08d0d7dbc43e8e051af6325739c2 100644 (file)
--- a/src/daemon/utils_time.c
+++ b/src/daemon/utils_time.c
return format_rfc3339_local(buffer, buffer_size, t, 1);
} /* }}} int rfc3339nano */
-
-/* vim: set sw=2 sts=2 et fdm=marker : */
index db510afe7b6755ed760d21ebba4308decccd630c..60a6ea95f13fb6ce2024d833073b9c9515287a19 100644 (file)
--- a/src/daemon/utils_time.h
+++ b/src/daemon/utils_time.h
int rfc3339nano_local(char *buffer, size_t buffer_size, cdtime_t t);
#endif /* UTILS_TIME_H */
-/* vim: set sw=2 sts=2 et : */
index c1c60a201e95345324a00655cfe87b675bd8461b..c0179cc05f7e3b94edd995e01762274947a4711f 100644 (file)
END_TEST;
}
-
-/* vim: set sw=2 sts=2 et : */
diff --git a/src/dbi.c b/src/dbi.c
index 7cab1d54e9c565addc07900e376ff3ee4b28eb68..2b374e9fad801aa0b7539fb12b210d9a4c2e9c28 100644 (file)
--- a/src/dbi.c
+++ b/src/dbi.c
plugin_register_init("dbi", cdbi_init);
plugin_register_shutdown("dbi", cdbi_shutdown);
} /* }}} void module_register */
-
-/*
- * vim: shiftwidth=2 softtabstop=2 et fdm=marker
- */
diff --git a/src/email.c b/src/email.c
index b406d48305e415e0bc45732357c5ba347036f760..08d572908b8459ff0e7e7e26097fbfa8a6469312 100644 (file)
--- a/src/email.c
+++ b/src/email.c
plugin_register_read("email", email_read);
plugin_register_shutdown("email", email_shutdown);
} /* void module_register */
-
-/* vim: set sw=4 ts=4 tw=78 noexpandtab : */
diff --git a/src/ethstat.c b/src/ethstat.c
index bd55252fef1856a9401b4da21b4268dd6c6fe652..4b05300867607135a83c0276e90caf6c0c2113c3 100644 (file)
--- a/src/ethstat.c
+++ b/src/ethstat.c
plugin_register_read("ethstat", ethstat_read);
plugin_register_shutdown("ethstat", ethstat_shutdown);
}
-
-/* vim: set sw=2 sts=2 et fdm=marker : */
diff --git a/src/exec.c b/src/exec.c
index d34f9d9168a7bcf997413c890695d7a022c9d072..df057189e47678fa722d3ca672d16215ba0034ba 100644 (file)
--- a/src/exec.c
+++ b/src/exec.c
/* user_data = */ NULL);
plugin_register_shutdown("exec", exec_shutdown);
} /* void module_register */
-
-/*
- * vim:shiftwidth=2:softtabstop=2:tabstop=8:fdm=marker
- */
diff --git a/src/filecount.c b/src/filecount.c
index a78b88007f86a30cb5a3fd97c0fb55cd2b48936a..608218df31b77c96d165f9f90ac5aae85b2be17e 100644 (file)
--- a/src/filecount.c
+++ b/src/filecount.c
plugin_register_init("filecount", fc_init);
plugin_register_read("filecount", fc_read);
} /* void module_register */
-
-/*
- * vim: set sw=2 sts=2 et :
- */
diff --git a/src/fscache.c b/src/fscache.c
index c410ea39d58ea472198a5c30ddf0877f11d95829..618bb22fb5eaf2c823ead3b9bbec104c42d5f82f 100644 (file)
--- a/src/fscache.c
+++ b/src/fscache.c
void module_register(void) {
plugin_register_read("fscache", fscache_read);
} /* void module_register */
-
-/* vim: set sw=4 sts=4 et : */
diff --git a/src/gmond.c b/src/gmond.c
index fc9a23266419f68317c2b6b98aa2d28b8f95f2c2..7bfb18d81762a2a00673eb47d0406b4c5788e86d 100644 (file)
--- a/src/gmond.c
+++ b/src/gmond.c
plugin_register_init("gmond", gmond_init);
plugin_register_shutdown("gmond", gmond_shutdown);
}
-
-/* vim: set sw=2 sts=2 et fdm=marker : */
diff --git a/src/grpc.cc b/src/grpc.cc
index 0ae80bb898fa8d00ebd63e7714a7797c670f5c84..19917ec6fafd716920d387981d5dba33a6f1df9d 100644 (file)
--- a/src/grpc.cc
+++ b/src/grpc.cc
plugin_register_shutdown("grpc", c_grpc_shutdown);
} /* module_register() */
} /* extern "C" */
-
-/* vim: set sw=4 ts=4 tw=78 noexpandtab : */
diff --git a/src/ipc.c b/src/ipc.c
index c9fb003e69bd058ddb717afe8343952488aa05cd..8222efbab42148c2a542aa609653bdf849e4751b 100644 (file)
--- a/src/ipc.c
+++ b/src/ipc.c
plugin_register_read("ipc", ipc_read);
}
/* }}} */
-
-/* vim: set sw=2 sts=2 et fdm=marker : */
diff --git a/src/ipmi.c b/src/ipmi.c
index 1bbaf4129fb2808195d1059e392f346d17ec7759..f3636fc8babc43860f440c9603ed160e42fb221a 100644 (file)
--- a/src/ipmi.c
+++ b/src/ipmi.c
plugin_register_read("ipmi", c_ipmi_read);
plugin_register_shutdown("ipmi", c_ipmi_shutdown);
} /* void module_register */
-
-/* vim: set sw=2 sts=2 ts=8 fdm=marker et : */
diff --git a/src/ipvs.c b/src/ipvs.c
index 2446bd1318f82193e81bae99e5a110771ce720dc..a8c4a1d2fe852297fcc9445db2b1dac5d3f3ca13 100644 (file)
--- a/src/ipvs.c
+++ b/src/ipvs.c
plugin_register_shutdown("ipvs", cipvs_shutdown);
return;
} /* module_register */
-
-/* vim: set sw=4 ts=4 tw=78 noexpandtab : */
diff --git a/src/java.c b/src/java.c
index 63b5e3171855479b9719a315203b0dd11b30e96b..2e4d88a6b64bfcbe2f54e7482e04fbe12067f094 100644 (file)
--- a/src/java.c
+++ b/src/java.c
plugin_register_init("java", cjni_init);
plugin_register_shutdown("java", cjni_shutdown);
} /* void module_register (void) */
-
-/* vim: set sw=2 sts=2 et fdm=marker : */
index f61e96782ed829254d6033d406dea623d4aaf0d1..a8f5d0d58695581528093767986ed3dc484d7242 100644 (file)
qsort(idents, idents_num, sizeof(*idents), lcc_identifier_compare);
return (0);
} /* }}} int lcc_sort_identifiers */
-
-/* vim: set sw=2 sts=2 et fdm=marker : */
index ae741eb7f01cb44e382d46e813f0e49ba8cf8954..8604ff6b2b2762ec20fcce0f9dd7705e62322a05 100644 (file)
LCC_END_DECLS
-/* vim: set sw=2 sts=2 et : */
#endif /* LIBCOLLECTD_COLLECTDCLIENT_H */
diff --git a/src/libcollectdclient/collectd/lcc_features.h.in b/src/libcollectdclient/collectd/lcc_features.h.in
index 0e6fcd4379429f76020e512e93b571cb8052824d..304845e2bdc121b75caaca5f8dea8d142c489ef9 100644 (file)
LCC_END_DECLS
#endif /* ! LIBCOLLECTD_LCC_FEATURES_H */
-
-/* vim: set sw=4 ts=4 tw=78 noexpandtab : */
-
index fdb9b33f99232ee977293de966c585d3f8158267..35fd7d62b54cbf3d9c34ca375ddd2e3b301c23aa 100644 (file)
const lcc_notification_t *notif);
#endif
-/* vim: set sw=2 sts=2 et : */
#endif /* LIBCOLLECTDCLIENT_NETWORK_H */
diff --git a/src/libcollectdclient/collectd/network_buffer.h b/src/libcollectdclient/collectd/network_buffer.h
index 5612458b9f788bdb6eb8efb8d61a5cfefd595852..9f39310331bcc9fc66ef1cbacd7b6f25b4d0fff4 100644 (file)
size_t *buffer_size);
#endif /* LIBCOLLECTDCLIENT_NETWORK_BUFFER_H */
-/* vim: set sw=2 sts=2 et : */
index a21799c2ddb35e5734c88d1d95c64e45de1a497f..d096f18699a084ee38b1e10cfefaf351a402b975 100644 (file)
return (0);
} /* }}} int lcc_network_values_send */
-
-/* vim: set sw=2 sts=2 et fdm=marker : */
index af8f43b816ff861934bd61c42fe8f95cbf8d10b9..866c4cc72ae1a19866c50458558d5c42fbf548c1 100644 (file)
return (0);
} /* }}} int lcc_network_buffer_get */
-
-/* vim: set sw=2 sts=2 et fdm=marker : */
index 76134dbee00bb7a5a0c9ed7c5d0d108e2a003cb8..079adcf83f3ac0568208a2fb657eef6339c72da7 100644 (file)
--- a/src/liboconfig/oconfig.c
+++ b/src/liboconfig/oconfig.c
oconfig_free_all(ci);
free(ci);
}
-
-/*
- * vim:shiftwidth=2:tabstop=8:softtabstop=2:fdm=marker
- */
index d27f6f53faa2b4d8f2af493a8bf1f274ed27db5c..3b81062e90771035a8814382434786ba2d3a2b5a 100644 (file)
--- a/src/liboconfig/oconfig.h
+++ b/src/liboconfig/oconfig.h
void oconfig_free(oconfig_item_t *ci);
-/*
- * vim: shiftwidth=2:tabstop=8:softtabstop=2
- */
#endif /* OCONFIG_H */
diff --git a/src/log_logstash.c b/src/log_logstash.c
index 303976b5a82c5fa0d0ac139e985d00512bb8af2c..8df32a8e4a9ca8266ff4660e674a6ee3674492b4 100644 (file)
--- a/src/log_logstash.c
+++ b/src/log_logstash.c
plugin_register_notification("log_logstash", log_logstash_notification,
/* user_data = */ NULL);
} /* void module_register (void) */
-
-/* vim: set sw=4 ts=4 tw=78 noexpandtab : */
diff --git a/src/logfile.c b/src/logfile.c
index db12291540aea9e896800088c7ecbd1240ffc0aa..0de639e966704200232514ede2f8ea277059fad8 100644 (file)
--- a/src/logfile.c
+++ b/src/logfile.c
plugin_register_notification("logfile", logfile_notification,
/* user_data = */ NULL);
} /* void module_register (void) */
-
-/* vim: set sw=4 ts=4 tw=78 noexpandtab : */
diff --git a/src/lpar.c b/src/lpar.c
index df4424c852ad944a72ffc58e35567a16a9271285..c01922791d01ae6000622f20ed195ddae3d6b897 100644 (file)
--- a/src/lpar.c
+++ b/src/lpar.c
plugin_register_init("lpar", lpar_init);
plugin_register_read("lpar", lpar_read);
} /* void module_register */
-
-/* vim: set sw=8 noet : */
diff --git a/src/lua.c b/src/lua.c
index 2bd56a160cc2a9d098ba99397589f9524d077bfa..9eda7d5b4ed0403bb056afb1ea542e83ce158f0d 100644 (file)
--- a/src/lua.c
+++ b/src/lua.c
plugin_register_complex_config("lua", lua_config);
plugin_register_shutdown("lua", lua_shutdown);
}
-
-/* vim: set sw=2 sts=2 et fdm=marker : */
index 67c5578963e686c5e5d830a09f2cdde8d9ba98d8..0b2ab1266d5062f7a0b18be3a399f06adc8a0b95 100644 (file)
.create = mec_create, .destroy = mec_destroy, .match = mec_match,
});
} /* module_register */
-
-/* vim: set sw=2 sts=2 tw=78 et fdm=marker : */
diff --git a/src/match_hashed.c b/src/match_hashed.c
index fad52718b1eb5333c6422b918fc53f20a3ade480..9c8d34f922fb62d3f6ba917deb9e8a82157d701c 100644 (file)
--- a/src/match_hashed.c
+++ b/src/match_hashed.c
mproc.match = mh_match;
fc_register_match("hashed", mproc);
} /* module_register */
-
-/* vim: set sw=2 sts=2 tw=78 et fdm=marker : */
diff --git a/src/match_regex.c b/src/match_regex.c
index 209f77362d5ece392fa7d54c1e2b485baa27e75a..ea7fcf0134a43a4255b983a32674dd1d09261be7 100644 (file)
--- a/src/match_regex.c
+++ b/src/match_regex.c
mproc.match = mr_match;
fc_register_match("regex", mproc);
} /* module_register */
-
-/* vim: set sw=4 ts=4 tw=78 noexpandtab fdm=marker : */
diff --git a/src/match_timediff.c b/src/match_timediff.c
index 6d00ed2955b674bc89e91f12d802c7d6a758cfbd..f0a456b918368c1492e87721032d166cb8950c9b 100644 (file)
--- a/src/match_timediff.c
+++ b/src/match_timediff.c
mproc.match = mt_match;
fc_register_match("timediff", mproc);
} /* module_register */
-
-/* vim: set sw=2 sts=2 tw=78 et fdm=marker : */
diff --git a/src/match_value.c b/src/match_value.c
index 3c9437575e8cdd27d986e506841da312e5df0af1..45745baca677e1dd86af566e768796e20605c8d0 100644 (file)
--- a/src/match_value.c
+++ b/src/match_value.c
mproc.match = mv_match;
fc_register_match("value", mproc);
} /* module_register */
-
-/* vim: set sw=2 sts=2 tw=78 et fdm=marker : */
diff --git a/src/memcachec.c b/src/memcachec.c
index bebbe4013acc33c0b912f8d10163850c58d0d1ef..19228efef5c7dc4e90c33eba7e72ad84ee1e779c 100644 (file)
--- a/src/memcachec.c
+++ b/src/memcachec.c
plugin_register_read("memcachec", cmc_read);
plugin_register_shutdown("memcachec", cmc_shutdown);
} /* void module_register */
-
-/* vim: set sw=2 sts=2 et fdm=marker : */
diff --git a/src/mic.c b/src/mic.c
index ab5ffd1b687beb26b910c0838f710dcc7165fa2a..bc99e679ea44a0070b5144bde07f9bf30f2fa0d4 100644 (file)
--- a/src/mic.c
+++ b/src/mic.c
plugin_register_read("mic", mic_read);
plugin_register_config("mic", mic_config, config_keys, config_keys_num);
} /* void module_register */
-
-/*
- * vim: set shiftwidth=8 softtabstop=8 noet textwidth=78 :
- */
diff --git a/src/modbus.c b/src/modbus.c
index 5d29791d337553f6defc8a039d0050e4d647095d..80a2aca17953e0735d36006a976cc0908d0f64b4 100644 (file)
--- a/src/modbus.c
+++ b/src/modbus.c
plugin_register_complex_config("modbus", mb_config);
plugin_register_shutdown("modbus", mb_shutdown);
} /* void module_register */
-
-/* vim: set sw=2 sts=2 et fdm=marker : */
diff --git a/src/mqtt.c b/src/mqtt.c
index b578b99bb93505f27a344b88d512cad2d97aa432..33785c8f9f62eda5ccc6858e249cadd25fb25d7d 100644 (file)
--- a/src/mqtt.c
+++ b/src/mqtt.c
plugin_register_complex_config("mqtt", mqtt_config);
plugin_register_init("mqtt", mqtt_init);
} /* void module_register */
-
-/* vim: set sw=4 sts=4 et fdm=marker : */
diff --git a/src/netapp.c b/src/netapp.c
index 4d458793f9a6b2e270ccafbc32cc216a2527ce7b..5b0827c930845c7ebb485bb098b2505147e81721 100644 (file)
--- a/src/netapp.c
+++ b/src/netapp.c
plugin_register_init("netapp", cna_init);
plugin_register_shutdown("netapp", cna_shutdown);
}
-
-/* vim: set sw=2 ts=2 noet fdm=marker : */
diff --git a/src/netlink.c b/src/netlink.c
index 8076c1fa4436b21fd52533ea379c2f09ea74b8a4..0649852cc7ea6087f8c31706445a1a933e0daaf0 100644 (file)
--- a/src/netlink.c
+++ b/src/netlink.c
plugin_register_read("netlink", ir_read);
plugin_register_shutdown("netlink", ir_shutdown);
} /* void module_register */
-
-/*
- * vim: set shiftwidth=2 softtabstop=2 tabstop=8 :
- */
diff --git a/src/network.c b/src/network.c
index 8caeb6384655493b463de52a67b70785deea46da..e1214cf9f1effe92fb8b004d27f9b14e88a55269 100644 (file)
--- a/src/network.c
+++ b/src/network.c
plugin_register_flush("network", network_flush,
/* user_data = */ NULL);
} /* void module_register */
-
-/* vim: set fdm=marker : */
diff --git a/src/nginx.c b/src/nginx.c
index ffc545c42770846d084220f6da86dff0812bcdbf..72c036370ba2178a3726c734f34c177716cabdd0 100644 (file)
--- a/src/nginx.c
+++ b/src/nginx.c
plugin_register_init("nginx", init);
plugin_register_read("nginx", nginx_read);
} /* void module_register */
-
-/*
- * vim: set shiftwidth=2 softtabstop=2 tabstop=8 :
- */
diff --git a/src/notify_desktop.c b/src/notify_desktop.c
index 48404411f0bc1a459efa70ae52693743bb617568..d167fbfe69fcdf4b02d095a8be07384b9199017c 100644 (file)
--- a/src/notify_desktop.c
+++ b/src/notify_desktop.c
plugin_register_init("notify_desktop", c_notify_init);
return;
} /* module_register */
-
-/* vim: set sw=4 ts=4 tw=78 noexpandtab : */
diff --git a/src/notify_email.c b/src/notify_email.c
index f42e66c648dbafa9932cb7ee0196e0c7f34fa1ce..aaa165abdef9b0998ef7211d04b4f125df7af14c 100644 (file)
--- a/src/notify_email.c
+++ b/src/notify_email.c
plugin_register_notification("notify_email", notify_email_notification,
/* user_data = */ NULL);
} /* void module_register (void) */
-
-/* vim: set sw=2 sts=2 ts=8 et : */
diff --git a/src/notify_nagios.c b/src/notify_nagios.c
index 13516915d868842e64a4789ba58b9d6ef3890e70..c95f7cb99bf1ab139670a85ccd1e2b51c603d5ff 100644 (file)
--- a/src/notify_nagios.c
+++ b/src/notify_nagios.c
plugin_register_complex_config("notify_nagios", nagios_config);
plugin_register_notification("notify_nagios", nagios_notify, NULL);
} /* void module_register (void) */
-
-/* vim: set sw=2 sts=2 ts=8 et : */
diff --git a/src/numa.c b/src/numa.c
index 049daeee1a4ff216a7085ba05c21d7269523fe59..01d74e1ecef0aa88a8e72e9b8057f1bea0eab803 100644 (file)
--- a/src/numa.c
+++ b/src/numa.c
plugin_register_init("numa", numa_init);
plugin_register_read("numa", numa_read);
} /* void module_register */
-
-/* vim: set sw=2 sts=2 et : */
diff --git a/src/nut.c b/src/nut.c
index d40e09510c1d7598dadc330ff53c4689576d0885..c0ee7abfe1d88bc75dff569d56c0bc2e7ea0c533 100644 (file)
--- a/src/nut.c
+++ b/src/nut.c
plugin_register_read("nut", nut_read);
plugin_register_shutdown("nut", nut_shutdown);
} /* void module_register */
-
-/* vim: set sw=2 ts=8 sts=2 tw=78 : */
diff --git a/src/olsrd.c b/src/olsrd.c
index d1caf461d1deb1c88659adb9c2a8b3a2cd5472d1..816a70b28dff6419ef4168fb1588838948674056 100644 (file)
--- a/src/olsrd.c
+++ b/src/olsrd.c
plugin_register_read("olsrd", olsrd_read);
plugin_register_shutdown("olsrd", olsrd_shutdown);
} /* void module_register */
-
-/* vim: set sw=2 sts=2 et fdm=marker : */
diff --git a/src/onewire.c b/src/onewire.c
index 10fa5ca108e4144644c71eddf9e4bf383a7f66fe..407e8574c8d5804abdcb04c4e6d09259f7d9dce4 100644 (file)
--- a/src/onewire.c
+++ b/src/onewire.c
plugin_register_config("onewire", cow_load_config, config_keys,
config_keys_num);
}
-
-/* vim: set sw=2 sts=2 ts=8 et fdm=marker cindent : */
diff --git a/src/openvpn.c b/src/openvpn.c
index 90694b786fc9b96fa6798a5febdc98322109d7f0..1045d50010d587aa28d5c5ce97c3f50688d85ccc 100644 (file)
--- a/src/openvpn.c
+++ b/src/openvpn.c
config_keys_num);
plugin_register_init("openvpn", openvpn_init);
} /* void module_register */
-
-/* vim: set sw=2 ts=2 : */
diff --git a/src/oracle.c b/src/oracle.c
index 4eacc5435c0b3983e63d043b7d8787569494b3c6..b52ea4eef6f318f5b6cee60f810e4a69fff88c0b 100644 (file)
--- a/src/oracle.c
+++ b/src/oracle.c
plugin_register_read("oracle", o_read);
plugin_register_shutdown("oracle", o_shutdown);
} /* }}} void module_register */
-
-/*
- * vim: shiftwidth=2 softtabstop=2 et fdm=marker
- */
diff --git a/src/perl.c b/src/perl.c
index 591091332191ca662ca6141da7b6a15be86d3ba0..71e17977cc9fe104367e52bb206c35f1ebb57091 100644 (file)
--- a/src/perl.c
+++ b/src/perl.c
plugin_register_complex_config("perl", perl_config);
return;
} /* void module_register (void) */
-
-/* vim: set sw=4 ts=4 tw=78 noexpandtab : */
diff --git a/src/pinba.c b/src/pinba.c
index 7fd23a023980a42b99eebc49b0520b8eab356139..97eeb0d6bea50d710458e5a69f2dc7efb0ccebee 100644 (file)
--- a/src/pinba.c
+++ b/src/pinba.c
plugin_register_read("pinba", plugin_read);
plugin_register_shutdown("pinba", plugin_shutdown);
} /* }}} void module_register */
-
-/* vim: set sw=2 sts=2 et fdm=marker : */
diff --git a/src/ping.c b/src/ping.c
index 82de59f0fd0d7310cad6309e4f092129b047ccad..6d9545f3f02de9c717cb11dcfe9b6e3a532e5941 100644 (file)
--- a/src/ping.c
+++ b/src/ping.c
plugin_register_read("ping", ping_read);
plugin_register_shutdown("ping", ping_shutdown);
} /* void module_register */
-
-/* vim: set sw=2 sts=2 et fdm=marker : */
diff --git a/src/postgresql.c b/src/postgresql.c
index 2af898863edc1ea4b5cde8675fe5ce1c8d6e9f90..3a388a5a3e449ba16e4fbf9594754b393fa27239 100644 (file)
--- a/src/postgresql.c
+++ b/src/postgresql.c
plugin_register_complex_config("postgresql", c_psql_config);
plugin_register_shutdown("postgresql", c_psql_shutdown);
} /* module_register */
-
-/* vim: set sw=4 ts=4 tw=78 noexpandtab : */
diff --git a/src/powerdns.c b/src/powerdns.c
index f2149ef2f72b51f146dbcf93dee23549b2a0030e..856210870136a0ae12611fd4ce870036f844eed7 100644 (file)
--- a/src/powerdns.c
+++ b/src/powerdns.c
plugin_register_read("powerdns", powerdns_read);
plugin_register_shutdown("powerdns", powerdns_shutdown);
} /* void module_register */
-
-/* vim: set sw=2 sts=2 ts=8 fdm=marker : */
diff --git a/src/protocols.c b/src/protocols.c
index 64735e6028840b8b185acf1eb1b9465691f7f53d..12fbf45f70dc7d3e8c5fb046de7fb057ab882bf3 100644 (file)
--- a/src/protocols.c
+++ b/src/protocols.c
config_keys_num);
plugin_register_read("protocols", protocols_read);
} /* void module_register */
-
-/* vim: set sw=2 sts=2 et : */
diff --git a/src/redis.c b/src/redis.c
index 7875c7ea7d4593e243af1667807b8d22e9543317..ea888ca682814fe2dc2b210edc5e629886e9a78c 100644 (file)
--- a/src/redis.c
+++ b/src/redis.c
* X elements */
}
/* }}} */
-
-/* vim: set sw=2 sts=2 et fdm=marker : */
diff --git a/src/routeros.c b/src/routeros.c
index 07493c75e53bfe4b0056b285e8a1c0dde387d5f7..5c978dccfa6f93aa1f75d1efb4bf326a6c668e05 100644 (file)
--- a/src/routeros.c
+++ b/src/routeros.c
void module_register(void) {
plugin_register_complex_config("routeros", cr_config);
} /* void module_register */
-
-/* vim: set sw=2 noet fdm=marker : */
diff --git a/src/rrdcached.c b/src/rrdcached.c
index 6eb67d4f1b6c0f29d88c54ce188663ced3811b14..5cf17c1efa6281e94df9c7afbbf2acc9f56fbd76 100644 (file)
--- a/src/rrdcached.c
+++ b/src/rrdcached.c
plugin_register_init("rrdcached", rc_init);
plugin_register_shutdown("rrdcached", rc_shutdown);
} /* void module_register */
-
-/*
- * vim: set sw=2 sts=2 et :
- */
diff --git a/src/snmp.c b/src/snmp.c
index 3bfec47defda83161fee7c0c8810e821f260ba7d..ff75edbe882a27c504dfe349f1b4cd9db6e76f98 100644 (file)
--- a/src/snmp.c
+++ b/src/snmp.c
plugin_register_init("snmp", csnmp_init);
plugin_register_shutdown("snmp", csnmp_shutdown);
} /* void module_register */
-
-/*
- * vim: shiftwidth=2 softtabstop=2 tabstop=8 fdm=marker
- */
diff --git a/src/statsd.c b/src/statsd.c
index 47e01d80fe541c9ff1f7ce5e5ff24ac738eb2633..aa4e35c52da887cc13754a3e9215d32482992ac7 100644 (file)
--- a/src/statsd.c
+++ b/src/statsd.c
plugin_register_read("statsd", statsd_read);
plugin_register_shutdown("statsd", statsd_shutdown);
}
-
-/* vim: set sw=2 sts=2 et fdm=marker : */
diff --git a/src/swap.c b/src/swap.c
index cbe1ab11077957a6621627195ee7c55647211332..19eed46ab0529fe4efc4f10e218826b54c36f3fd 100644 (file)
--- a/src/swap.c
+++ b/src/swap.c
plugin_register_init("swap", swap_init);
plugin_register_read("swap", swap_read);
} /* void module_register */
-
-/* vim: set fdm=marker : */
diff --git a/src/table.c b/src/table.c
index 3e8feada128ed91d1c286c2fe7577ea6e23b93b5..578e019ee5b120c28369d00b3c038121ce26cb93 100644 (file)
--- a/src/table.c
+++ b/src/table.c
plugin_register_complex_config("table", tbl_config);
plugin_register_init("table", tbl_init);
} /* module_register */
-
-/* vim: set sw=4 ts=4 tw=78 noexpandtab : */
diff --git a/src/tail.c b/src/tail.c
index bb4eb30bf34e51d32d7876f81c258daaa84513df..466dbffe62b676972a3fca45088f816cb47b064b 100644 (file)
--- a/src/tail.c
+++ b/src/tail.c
plugin_register_init("tail", ctail_init);
plugin_register_shutdown("tail", ctail_shutdown);
} /* void module_register */
-
-/* vim: set sw=2 sts=2 ts=8 : */
diff --git a/src/tail_csv.c b/src/tail_csv.c
index b1a3292d79b8dac3aa0ff7d42c8eed8311e5e00b..425c101e1880e393f32546f89f3ec7ed236ab556 100644 (file)
--- a/src/tail_csv.c
+++ b/src/tail_csv.c
plugin_register_init("tail_csv", tcsv_init);
plugin_register_shutdown("tail_csv", tcsv_shutdown);
}
-
-/* vim: set sw=4 sts=4 et : */
index dc93b98bb63d84868b56ec2d63af049f8df55198..7c82c794dfd97bed4b52e9a3263c068e24ac012e 100644 (file)
tproc.invoke = tn_invoke;
fc_register_target("notification", tproc);
} /* module_register */
-
-/* vim: set sw=2 sts=2 tw=78 et fdm=marker : */
diff --git a/src/target_replace.c b/src/target_replace.c
index b43a025b827c402e43c21521d443ad9ee010576f..2bdb3b80af6dc8114c1bae2ede9e2c4753707d2a 100644 (file)
--- a/src/target_replace.c
+++ b/src/target_replace.c
tproc.invoke = tr_invoke;
fc_register_target("replace", tproc);
} /* module_register */
-
-/* vim: set sw=2 sts=2 tw=78 et fdm=marker : */
diff --git a/src/target_scale.c b/src/target_scale.c
index 347d6272bc3a03d4c746b84bb6c9210f722c647f..4cce8dd10b6c3330da6c87302048dd9e9f44f331 100644 (file)
--- a/src/target_scale.c
+++ b/src/target_scale.c
tproc.invoke = ts_invoke;
fc_register_target("scale", tproc);
} /* module_register */
-
-/* vim: set sw=2 ts=2 tw=78 fdm=marker : */
diff --git a/src/target_set.c b/src/target_set.c
index 5bf40fa357b6e0cf0ecfc6f1ee0ab16b8ef0fa53..8b2b556032a932150e52be91420aa58336b9baa0 100644 (file)
--- a/src/target_set.c
+++ b/src/target_set.c
tproc.invoke = ts_invoke;
fc_register_target("set", tproc);
} /* module_register */
-
-/* vim: set sw=2 sts=2 tw=78 et fdm=marker : */
diff --git a/src/target_v5upgrade.c b/src/target_v5upgrade.c
index 54e37e165287a96de9d8027564576ba19a55dca2..27bca39909f6068f26a0d0ab84093c73cbc81622 100644 (file)
--- a/src/target_v5upgrade.c
+++ b/src/target_v5upgrade.c
tproc.invoke = v5_invoke;
fc_register_target("v5upgrade", tproc);
} /* module_register */
-
-/* vim: set sw=2 sts=2 tw=78 et fdm=marker : */
diff --git a/src/tcpconns.c b/src/tcpconns.c
index f949d34ec94ebddf319776dd3963e108c6f2fa77..966f58d815bc2b363578415f2a342dc1178d2a13 100644 (file)
--- a/src/tcpconns.c
+++ b/src/tcpconns.c
#endif
plugin_register_read("tcpconns", conn_read);
} /* void module_register */
-
-/*
- * vim: set shiftwidth=2 softtabstop=2 tabstop=8 fdm=marker :
- */
diff --git a/src/teamspeak2.c b/src/teamspeak2.c
index 960d6464f694fe005b08628cfde2d7e68bccc132..a959cddc024ae66803000936763180cfe89c6320 100644 (file)
--- a/src/teamspeak2.c
+++ b/src/teamspeak2.c
plugin_register_read("teamspeak2", tss2_read);
plugin_register_shutdown("teamspeak2", tss2_shutdown);
} /* void module_register */
-
-/* vim: set sw=4 ts=4 : */
diff --git a/src/ted.c b/src/ted.c
index 1f49b20cd80f963ecdb36df669900b5b523994e8..fbfd95dbd78680f9b121d533501e13323519ebe3 100644 (file)
--- a/src/ted.c
+++ b/src/ted.c
plugin_register_read("ted", ted_read);
plugin_register_shutdown("ted", ted_shutdown);
} /* void module_register */
-
-/* vim: set sw=4 et : */
diff --git a/src/threshold.c b/src/threshold.c
index 743db28d4cf43a9f3087ff8ac874add2661d28be..a4a999f571ee899c056df0ef0396b4619deece54 100644 (file)
--- a/src/threshold.c
+++ b/src/threshold.c
void module_register(void) {
plugin_register_complex_config("threshold", ut_config);
}
-
-/* vim: set sw=2 ts=8 sts=2 tw=78 et fdm=marker : */
diff --git a/src/tokyotyrant.c b/src/tokyotyrant.c
index cb366d38671f92bfb3d9190244ee778347688dc9..09ee25d72f115b1ed09e5d02ce7abf549b326d26 100644 (file)
--- a/src/tokyotyrant.c
+++ b/src/tokyotyrant.c
plugin_register_read("tokyotyrant", tt_read);
plugin_register_shutdown("tokyotyrant", tt_shutdown);
}
-
-/* vim: set sw=8 ts=8 tw=78 : */
diff --git a/src/unixsock.c b/src/unixsock.c
index f61360efe148103d04195aa69f4f6b4ee72360b7..b08c89f11d6812016d68ddba8f672ca8adba71fd 100644 (file)
--- a/src/unixsock.c
+++ b/src/unixsock.c
plugin_register_init("unixsock", us_init);
plugin_register_shutdown("unixsock", us_shutdown);
} /* void module_register (void) */
-
-/* vim: set sw=4 ts=4 sts=4 tw=78 : */
diff --git a/src/utils_cmd_flush.c b/src/utils_cmd_flush.c
index 48243e6d514ec5c0072a81c1ac5fe0db653fd766..889512815a58f7b4f4b614a67b448839dbecf959 100644 (file)
--- a/src/utils_cmd_flush.c
+++ b/src/utils_cmd_flush.c
sfree(flush->identifiers);
flush->identifiers_num = 0;
} /* void cmd_destroy_flush */
-
-/* vim: set sw=4 ts=4 tw=78 noexpandtab : */
diff --git a/src/utils_cmd_flush.h b/src/utils_cmd_flush.h
index 57b90853959a55dcc4759b250a309c73ad81d1c4..5dc88f957ac9191dc311f98ebd18193d9baac780 100644 (file)
--- a/src/utils_cmd_flush.h
+++ b/src/utils_cmd_flush.h
void cmd_destroy_flush(cmd_flush_t *flush);
#endif /* UTILS_CMD_FLUSH_H */
-
-/* vim: set sw=4 ts=4 tw=78 noexpandtab : */
index 60363da5fa09c1814d6973b38b5d1f12cd1b34a3..491d7765ee82d9ce20e3c4d661aa457eeadf1540 100644 (file)
return (0);
} /* int handle_getthreshold */
-
-/* vim: set sw=2 sts=2 ts=8 et : */
index dd4e5cf8e1d3a7960e5cdfcea370d2f0ee25fc4a..78700ee2b3e40bce3f7f63df804380b75f3a7e3d 100644 (file)
int handle_getthreshold(FILE *fh, char *buffer);
#endif /* UTILS_CMD_GETTHRESHOLD_H */
-
-/* vim: set sw=2 sts=2 ts=8 : */
diff --git a/src/utils_cmd_getval.c b/src/utils_cmd_getval.c
index c23650b36fca0705d2092d9218e737eef312719d..e5f17b634f890206b8b23a6a52d5653db8088db5 100644 (file)
--- a/src/utils_cmd_getval.c
+++ b/src/utils_cmd_getval.c
sfree(getval->raw_identifier);
} /* void cmd_destroy_getval */
-
-/* vim: set sw=2 sts=2 ts=8 : */
diff --git a/src/utils_cmd_getval.h b/src/utils_cmd_getval.h
index 8d488b3171790b9ec0c22091054c1732fe9f0d74..5c03fa4cdbc3e858f1b9fcbf917e69d46e4267f2 100644 (file)
--- a/src/utils_cmd_getval.h
+++ b/src/utils_cmd_getval.h
void cmd_destroy_getval(cmd_getval_t *getval);
#endif /* UTILS_CMD_GETVAL_H */
-
-/* vim: set sw=2 sts=2 ts=8 : */
index f86388932080fcdf71072a4cdcf0a110b6240c36..4e603a2f963bcc2ed3fe32c6aac2f9b6fa6df8a7 100644 (file)
--- a/src/utils_cmd_listval.c
+++ b/src/utils_cmd_listval.c
void cmd_destroy_listval(cmd_listval_t *listval __attribute__((unused))) {
/* nothing to do */
} /* void cmd_destroy_listval */
-
-/* vim: set sw=2 sts=2 ts=8 : */
index 8a4e8c8b22716d96cae1cc760bc585f2273cabd8..6abdeee37885bb2012f93eadbd76b275b2c98515 100644 (file)
--- a/src/utils_cmd_listval.h
+++ b/src/utils_cmd_listval.h
void cmd_destroy_listval(cmd_listval_t *listval);
#endif /* UTILS_CMD_LISTVAL_H */
-
-/* vim: set sw=2 sts=2 ts=8 : */
index 0edfbb86cc25316dcec6f00c3476187da8cec4ce..8f687fd8a8421d2fd4fa36e12cbde8493129fa9f 100644 (file)
--- a/src/utils_cmd_putnotif.c
+++ b/src/utils_cmd_putnotif.c
return (0);
} /* int handle_putnotif */
-
-/* vim: set shiftwidth=2 softtabstop=2 tabstop=8 : */
index af0b93e0dbda230d5cd29f4dbbc2d5ce163e2314..7ad0f1a5d7a6b3a020d1cbcbacb8356e2aeb922e 100644 (file)
--- a/src/utils_cmd_putnotif.h
+++ b/src/utils_cmd_putnotif.h
int handle_putnotif(FILE *fh, char *buffer);
-/* vim: set shiftwidth=2 softtabstop=2 tabstop=8 : */
-
#endif /* UTILS_CMD_PUTNOTIF_H */
diff --git a/src/utils_cmds.c b/src/utils_cmds.c
index 3ea7c9d0d2757de04ad4c6fffa7349fa27c22e49..31a9a6fbde3167d9065cb5ed2e1d3c2d2f612232 100644 (file)
--- a/src/utils_cmds.c
+++ b/src/utils_cmds.c
fflush(fh);
} /* void cmd_error_fh */
-
-/* vim: set sw=4 ts=4 tw=78 noexpandtab : */
diff --git a/src/utils_db_query.c b/src/utils_db_query.c
index 9a582272130a36a23f0b5368044d1e8d7dadf995..c8030296a531d16ee873fd4ca6d1d44254b42e14 100644 (file)
--- a/src/utils_db_query.c
+++ b/src/utils_db_query.c
free(q_area);
} /* }}} void udb_query_delete_preparation_area */
-
-/* vim: set sw=2 sts=2 et fdm=marker : */
diff --git a/src/utils_db_query.h b/src/utils_db_query.h
index 8f0691852e1fce35726e6553bad966c8bf70052a..4d6129a1edb8abfd5e29dc518aad24e0c4371d4e 100644 (file)
--- a/src/utils_db_query.h
+++ b/src/utils_db_query.h
void udb_query_delete_preparation_area(udb_query_preparation_area_t *q_area);
#endif /* UTILS_DB_QUERY_H */
-/* vim: set sw=2 sts=2 et : */
diff --git a/src/utils_dns.c b/src/utils_dns.c
index a4a5784bdce3928f91c663a40c371707379e924c..2bda965fffee2dd4ea4d2ffbf9ccc22eab26665c 100644 (file)
--- a/src/utils_dns.c
+++ b/src/utils_dns.c
return 0;
} /* static int main(int argc, char *argv[]) */
#endif
-/*
- * vim:shiftwidth=4:tabstop=8:softtabstop=4
- */
diff --git a/src/utils_fbhash.c b/src/utils_fbhash.c
index ecc567408034f95fe47936bec30c66f7e8258969..f94e2e5b7a08a3e6b437a797b78876e1e53f1292 100644 (file)
--- a/src/utils_fbhash.c
+++ b/src/utils_fbhash.c
return (value_copy);
} /* }}} char *fbh_get */
-
-/* vim: set sw=2 sts=2 et fdm=marker : */
diff --git a/src/utils_fbhash.h b/src/utils_fbhash.h
index 79e9c00f4ec07350e04f8a05d4b6395d75134522..fcd6e925d86d127576327a8b92917183917dd99f 100644 (file)
--- a/src/utils_fbhash.h
+++ b/src/utils_fbhash.h
char *fbh_get(fbhash_t *h, const char *key);
#endif /* UTILS_FBHASH_H */
-
-/* vim: set sw=2 sts=2 et fdm=marker : */
index 4f509f4a4c649e47f5fc94a66174a341ab002f4b..0436340dfdd2f13ad5f142e270f860d3f4ea9494 100644 (file)
sfree(rates);
return (status);
} /* int format_graphite */
-
-/* vim: set sw=2 sts=2 et fdm=marker : */
index 0a95a86db2e7c3c4e87b50de4c1165c8ad4fdefa..1a0e151de27491cf918228e62490233d46a7fe48 100644 (file)
--- a/src/utils_format_json.c
+++ b/src/utils_format_json.c
return ENOTSUP;
} /* }}} int format_json_notification */
#endif
-
-/* vim: set sw=2 sts=2 et fdm=marker : */
index 4c25d188e07eb01f04cec839f7abd4d4e4d69396..1e54b97c32d0135537032ffd7325774762719ae3 100644 (file)
buffer, ret_buffer_fill, ret_buffer_free, ds, vl, store_rates,
(*ret_buffer_free) - 2));
} /* }}} int format_kairosdb_value_list */
-
-/* vim: set sw=2 sts=2 et fdm=marker : */
diff --git a/src/utils_latency.c b/src/utils_latency.c
index f0311e8412dfcbdb8bd035a8e0cfad8c8415333d..f30b265b6c5d9233b3d5c2c6ca7dda7775d53729 100644 (file)
--- a/src/utils_latency.c
+++ b/src/utils_latency.c
return sum / (CDTIME_T_TO_DOUBLE(now - lc->start_time));
} /* }}} double latency_counter_get_rate */
-
-/* vim: set sw=2 sts=2 et fdm=marker : */
diff --git a/src/utils_latency.h b/src/utils_latency.h
index 85493e1a7455984441d2adcc21585a9983756160..9d878dabcda3ff0d7287f8a3dc332c73b2e3171e 100644 (file)
--- a/src/utils_latency.h
+++ b/src/utils_latency.h
*/
double latency_counter_get_rate(const latency_counter_t *lc, cdtime_t lower,
cdtime_t upper, const cdtime_t now);
-
-/* vim: set sw=2 sts=2 et : */
index ef29d8bd7e08707e8b6dacb93112b45ed5abbf04..427a1592db5e9a443ddc5fb98151ecfcf059d5fb 100644 (file)
--- a/src/utils_latency_test.c
+++ b/src/utils_latency_test.c
END_TEST;
}
-
-/* vim: set sw=2 sts=2 et : */
diff --git a/src/utils_lua.c b/src/utils_lua.c
index dcb84afa0753fa23704fff2e5bd210771ecbe2de..7710121695585b083f2d91f227892791d45b943c 100644 (file)
--- a/src/utils_lua.c
+++ b/src/utils_lua.c
return (0);
} /* }}} int luaC_pushvaluelist */
-
-/* vim: set sw=2 sts=2 et fdm=marker : */
diff --git a/src/utils_lua.h b/src/utils_lua.h
index 8ff507c7a2b8902beb91f48d036e4b78daa069c4..61d9070ebe94f7516d94a6e35d2f2f84e4373d8a 100644 (file)
--- a/src/utils_lua.h
+++ b/src/utils_lua.h
const value_list_t *vl);
#endif /* UTILS_LUA_H */
-/* vim: set sw=2 sts=2 et fdm=marker : */
diff --git a/src/utils_match.c b/src/utils_match.c
index 2e487b5933fc0b32525ea000fabca09e45b65772..e2f29808afa4ba5331277e658321afa3d04d6dae 100644 (file)
--- a/src/utils_match.c
+++ b/src/utils_match.c
return (NULL);
return (obj->user_data);
} /* void *match_get_user_data */
-
-/* vim: set sw=2 sts=2 ts=8 : */
diff --git a/src/utils_match.h b/src/utils_match.h
index 1383530c3dd7716ae7421456bb3a9280aa156093..1cff1eb755092a4734bcb9291e6ed79729af8341 100644 (file)
--- a/src/utils_match.h
+++ b/src/utils_match.h
void *match_get_user_data(cu_match_t *obj);
#endif /* UTILS_MATCH_H */
-
-/* vim: set sw=2 sts=2 ts=8 : */
diff --git a/src/utils_mount_test.c b/src/utils_mount_test.c
index 695038dd5e58f59d377cb76cd5611f02a3a19eb5..76fc8d4a35f41dda4dfe1181dbcab78c5f0e229a 100644 (file)
--- a/src/utils_mount_test.c
+++ b/src/utils_mount_test.c
END_TEST;
}
-
-/* vim: set sw=2 sts=2 et : */
index ba37f03ec4277fe0d17c51820cdfd183d4e67666..a2a7380906fe0a89136b3d2b553aa227bb58b4ee 100644 (file)
--- a/src/utils_parse_option.c
+++ b/src/utils_parse_option.c
return (0);
} /* int parse_option */
-
-/* vim: set sw=2 ts=8 tw=78 et : */
index a638e6940a141af2a7908451a8c78bb45af54f3d..3dd0a79260f5ade88ec8f8b3395ab3b67a848d66 100644 (file)
--- a/src/utils_parse_option.h
+++ b/src/utils_parse_option.h
int parse_option(char **ret_buffer, char **ret_key, char **ret_value);
#endif /* UTILS_PARSE_OPTION */
-
-/* vim: set sw=2 ts=8 tw=78 et : */
diff --git a/src/utils_rrdcreate.c b/src/utils_rrdcreate.c
index 750d26568be8f341919a0e42e7302dddd278e19c..ae72575cb85c69ef0c76b0ea753ce4b578965673 100644 (file)
--- a/src/utils_rrdcreate.c
+++ b/src/utils_rrdcreate.c
return (status);
} /* }}} int cu_rrd_create_file */
-
-/* vim: set sw=2 sts=2 et fdm=marker : */
diff --git a/src/utils_rrdcreate.h b/src/utils_rrdcreate.h
index 9bc67aed190c7e73be73b1d5a2e0b804f08ad2b3..d5f9a12a1fc50185a40f775e0822df1bbb66d57b 100644 (file)
--- a/src/utils_rrdcreate.h
+++ b/src/utils_rrdcreate.h
const value_list_t *vl, const rrdcreate_config_t *cfg);
#endif /* UTILS_RRDCREATE_H */
-
-/* vim: set sw=2 sts=2 et : */
diff --git a/src/utils_tail_match.c b/src/utils_tail_match.c
index 505c69374c3afb7eda0e3536dcf77220790dfb6b..1a99384b888adf69a087ac31152efeaad7621ac0 100644 (file)
--- a/src/utils_tail_match.c
+++ b/src/utils_tail_match.c
return (0);
} /* int tail_match_read */
-
-/* vim: set sw=2 sts=2 ts=8 : */
diff --git a/src/utils_tail_match.h b/src/utils_tail_match.h
index 09e3d40212e0763a18a05a53b1df1ada5066dfdd..03b70e93507e41a67d057b0b8d5b12d2beb9fe38 100644 (file)
--- a/src/utils_tail_match.h
+++ b/src/utils_tail_match.h
* Zero on success, nonzero on failure.
*/
int tail_match_read(cu_tail_match_t *obj);
-
-/* vim: set sw=2 sts=2 ts=8 : */
diff --git a/src/uuid.c b/src/uuid.c
index 89c9e7dddbe97ceba2ea8722729aee6df7463588..ad8d4d2e9830bc09305a7618d59749cb91a65ce9 100644 (file)
--- a/src/uuid.c
+++ b/src/uuid.c
STATIC_ARRAY_SIZE(config_keys));
plugin_register_init("uuid", uuid_init);
}
-
-/*
- * vim: set tabstop=4:
- * vim: set shiftwidth=4:
- * vim: set expandtab:
- */
-/*
- * Local variables:
- * indent-tabs-mode: nil
- * c-indent-level: 4
- * c-basic-offset: 4
- * tab-width: 4
- * End:
- */
diff --git a/src/varnish.c b/src/varnish.c
index 41b60d859f344b75b15849886b1069eea0aebfaf..3538e7e2d2577e2238928607806efc6190ebcc72 100644 (file)
--- a/src/varnish.c
+++ b/src/varnish.c
plugin_register_complex_config("varnish", varnish_config);
plugin_register_init("varnish", varnish_init);
} /* }}} */
-
-/* vim: set sw=8 noet fdm=marker : */
diff --git a/src/virt.c b/src/virt.c
index 6afd2390bd02f848c49507ee939052ac1ca3238b..86f83ae8e009c3fd31c76c0b5c3b1567911d1d9c 100644 (file)
--- a/src/virt.c
+++ b/src/virt.c
plugin_register_init(PLUGIN_NAME, lv_init);
plugin_register_shutdown(PLUGIN_NAME, lv_shutdown);
}
-
-/*
- * vim: shiftwidth=4 tabstop=8 softtabstop=4 expandtab fdm=marker
- */
diff --git a/src/vmem.c b/src/vmem.c
index cd9e7d2847ee14ed0e3b8a09e7bef89427f30c9e..0d7769b762831813eddc8331c1f6119262b5f672 100644 (file)
--- a/src/vmem.c
+++ b/src/vmem.c
plugin_register_config("vmem", vmem_config, config_keys, config_keys_num);
plugin_register_read("vmem", vmem_read);
} /* void module_register */
-
-/* vim: set sw=2 sts=2 ts=8 : */
diff --git a/src/vserver.c b/src/vserver.c
index c5a7fb33ac40187018f4a12d490292131f308fb4..96af6fc8bf2291622934200e78a66e49d9840076 100644 (file)
--- a/src/vserver.c
+++ b/src/vserver.c
plugin_register_init("vserver", vserver_init);
plugin_register_read("vserver", vserver_read);
} /* void module_register(void) */
-
-/* vim: set ts=4 sw=4 noexpandtab : */
diff --git a/src/write_graphite.c b/src/write_graphite.c
index b85ab4704b6eac7046bb835aae8c92474a1cb994..3fac9ccac31a3c69144a3007e16c20d89b51f46f 100644 (file)
--- a/src/write_graphite.c
+++ b/src/write_graphite.c
void module_register(void) {
plugin_register_complex_config("write_graphite", wg_config);
}
-
-/* vim: set sw=4 ts=4 sts=4 tw=78 et : */
diff --git a/src/write_http.c b/src/write_http.c
index c1b3f0b0c7c7cc25cb4455d9b9a5c128cbc2dfbe..c33ab542b8d23cf59b47f691e6839b5502c011c3 100644 (file)
--- a/src/write_http.c
+++ b/src/write_http.c
plugin_register_complex_config("write_http", wh_config);
plugin_register_init("write_http", wh_init);
} /* }}} void module_register */
-
-/* vim: set fdm=marker sw=8 ts=8 tw=78 et : */
diff --git a/src/write_log.c b/src/write_log.c
index 2d34b21bb996dd71696d6cfe888e7685171d9f77..5ecb1823f7bed41863cc7d53e27f994f5106fe9a 100644 (file)
--- a/src/write_log.c
+++ b/src/write_log.c
/* If config is supplied, the global wl_format will be set. */
plugin_register_write("write_log", wl_write, NULL);
}
-
-/* vim: set sw=4 ts=4 sts=4 tw=78 et : */
diff --git a/src/write_mongodb.c b/src/write_mongodb.c
index 68e11773d5e9d2707231045ab572519ad588685b..10f7832245c70dbddde7773d26ea894d8bf836a1 100644 (file)
--- a/src/write_mongodb.c
+++ b/src/write_mongodb.c
void module_register(void) {
plugin_register_complex_config("write_mongodb", wm_config);
}
-
-/* vim: set sw=2 sts=2 tw=78 et fdm=marker : */
diff --git a/src/write_prometheus.c b/src/write_prometheus.c
index 991415ef08713ddb7939e63fd7d5d196a3d35981..6dee98abc4ec2b994f522a07add1faf25793be1b 100644 (file)
--- a/src/write_prometheus.c
+++ b/src/write_prometheus.c
/* user data = */ NULL);
plugin_register_shutdown("write_prometheus", prom_shutdown);
}
-
-/* vim: set sw=2 sts=2 et fdm=marker : */
diff --git a/src/write_redis.c b/src/write_redis.c
index 0a5c5df1f677d0a8dcce6c394319fb43d19fac9f..9cff34a7287edcbe8a878bfe679f6186772dbc36 100644 (file)
--- a/src/write_redis.c
+++ b/src/write_redis.c
void module_register(void) {
plugin_register_complex_config("write_redis", wr_config);
}
-
-/* vim: set sw=2 sts=2 tw=78 et fdm=marker : */
diff --git a/src/write_riemann.c b/src/write_riemann.c
index 3835a3d58b09e04234c7b3281ed167876042dfa9..a51b4b5857d1e25cc4d50cdb78ff850fcbd850dc 100644 (file)
--- a/src/write_riemann.c
+++ b/src/write_riemann.c
void module_register(void) {
plugin_register_complex_config("write_riemann", wrr_config);
}
-
-/* vim: set sw=8 sts=8 ts=8 noet : */
index 452c2910cd980b4f7e702d02cf737c69f18f9585..992d856297f58cd9d2f0620be52b254405bfc384 100644 (file)
return (0);
} /* }}} int ut_check_threshold */
-
-/* vim: set sw=2 ts=8 sts=2 tw=78 et fdm=marker : */
diff --git a/src/write_sensu.c b/src/write_sensu.c
index 72ed6bc0edfe7701d98e10cd6a1fcdd6f2c197d6..c0c06347d4c6483db9aaaca3ab4a693b3899fc2e 100644 (file)
--- a/src/write_sensu.c
+++ b/src/write_sensu.c
void module_register(void) {
plugin_register_complex_config("write_sensu", sensu_config);
}
-
-/* vim: set sw=8 sts=8 ts=8 noet : */
diff --git a/src/write_tsdb.c b/src/write_tsdb.c
index 0c87c473d7aaedbff3106e253683d4b7668b581e..429c159757c8047016892ff18cc5ef8d56a371ec 100644 (file)
--- a/src/write_tsdb.c
+++ b/src/write_tsdb.c
void module_register(void) {
plugin_register_complex_config("write_tsdb", wt_config);
}
-
-/* vim: set sw=4 ts=4 sts=4 tw=78 et : */
diff --git a/src/xmms.c b/src/xmms.c
index 87e3564fe70c4363285cbe8f1f77e4270924c4f1..b06434d4deaeddd8874676c675c2153e23556e1b 100644 (file)
--- a/src/xmms.c
+++ b/src/xmms.c
void module_register(void) {
plugin_register_read("xmms", cxmms_read);
} /* void module_register */
-
-/*
- * vim: shiftwidth=2:softtabstop=2:textwidth=78
- */