X-Git-Url: http://ftp.safe.ca/?p=safe%2Fjmp%2Flinux-2.6;a=blobdiff_plain;f=samples%2Ftracepoints%2Ftracepoint-probe-sample2.c;fp=samples%2Ftracepoints%2Ftracepoint-probe-sample2.c;h=be2a960573f174991fe26c4ccdfd5794bc61c988;hp=685a5acb456275dd5459891caaa9f29abbdfa2d2;hb=7ec7fb394298c212c30e063c57e0aa895efe9439;hpb=9fe06081ef145d6582c39e18203b5fffe6f3abc2 diff --git a/samples/tracepoints/tracepoint-probe-sample2.c b/samples/tracepoints/tracepoint-probe-sample2.c index 685a5ac..be2a960 100644 --- a/samples/tracepoints/tracepoint-probe-sample2.c +++ b/samples/tracepoints/tracepoint-probe-sample2.c @@ -18,7 +18,7 @@ static void probe_subsys_event(struct inode *inode, struct file *file) inode->i_ino); } -int __init tp_sample_trace_init(void) +static int __init tp_sample_trace_init(void) { int ret; @@ -30,7 +30,7 @@ int __init tp_sample_trace_init(void) module_init(tp_sample_trace_init); -void __exit tp_sample_trace_exit(void) +static void __exit tp_sample_trace_exit(void) { unregister_trace_subsys_event(probe_subsys_event); tracepoint_synchronize_unregister();