From fdc7b753e3798fe3c1fefaf83af8682f5dfc7ead Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Wed, 16 Mar 2011 19:05:12 -0400 Subject: markers-make-example-probes-static Markers make example probes static Sparse asked whether these could be static. Signed-off-by: Roel Kluin --- samples/markers/probe-example.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/markers/probe-example.c b/samples/markers/probe-example.c index 204c779e547..2c449c0c1eb 100644 --- a/samples/markers/probe-example.c +++ b/samples/markers/probe-example.c @@ -20,7 +20,7 @@ struct probe_data { marker_probe_func *probe_func; }; -void probe_subsystem_event(const struct marker *mdata, +static void probe_subsystem_event(const struct marker *mdata, void *probe_data, void *call_data, const char *format, va_list *args) { @@ -40,7 +40,7 @@ void probe_subsystem_event(const struct marker *mdata, atomic_t eventb_count = ATOMIC_INIT(0); -void probe_subsystem_eventb(const struct marker *mdata, +static void probe_subsystem_eventb(const struct marker *mdata, void *probe_data, void *call_data, const char *format, va_list *args) { -- cgit v1.2.3