aboutsummaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>2011-03-16 19:05:12 -0400
committerMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>2011-03-16 19:05:12 -0400
commitfdc7b753e3798fe3c1fefaf83af8682f5dfc7ead (patch)
treedb7e63e2f13e8aa7ce35e5efc974c28c436c8bf0 /samples
parent361d369814b63cfab774aee04843c9c9f5d17b8d (diff)
markers-make-example-probes-static
Markers make example probes static Sparse asked whether these could be static. Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Diffstat (limited to 'samples')
-rw-r--r--samples/markers/probe-example.c4
1 files 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)
{