summaryrefslogtreecommitdiffstats
path: root/runtime/docs/examples
diff options
context:
space:
mode:
authorhunt <hunt>2005-08-01 22:09:32 +0000
committerhunt <hunt>2005-08-01 22:09:32 +0000
commit4ecbb06c6ba4ce07dfd527dc0496f36322f9eabf (patch)
treed02b99b94eb3c750693780658e0cf4101ed3f1a6 /runtime/docs/examples
parent3ca3cf924886beab449d85e1232d0936b501c4f0 (diff)
downloadsystemtap-steved-4ecbb06c6ba4ce07dfd527dc0496f36322f9eabf.tar.gz
systemtap-steved-4ecbb06c6ba4ce07dfd527dc0496f36322f9eabf.tar.xz
systemtap-steved-4ecbb06c6ba4ce07dfd527dc0496f36322f9eabf.zip
Remove "static" from probe_exit declaration.
Diffstat (limited to 'runtime/docs/examples')
-rw-r--r--runtime/docs/examples/template.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/docs/examples/template.c b/runtime/docs/examples/template.c
index 73cbc06e..244bd39f 100644
--- a/runtime/docs/examples/template.c
+++ b/runtime/docs/examples/template.c
@@ -113,7 +113,7 @@ int probe_start(void)
}
-static void probe_exit (void)
+void probe_exit (void)
{
/* unregister the probes */
_stp_unregister_jprobes (jp, NUM_JPROBES);