lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <493EEFB6.3080901@gmail.com>
Date:	Tue, 09 Dec 2008 23:22:46 +0100
From:	Roel Kluin <roel.kluin@...il.com>
To:	Mathieu Desnoyers <mathieu.desnoyers@...ymtl.ca>
CC:	lkml <linux-kernel@...r.kernel.org>
Subject: [PATCH 29/31] markers: Make static

Sparse asked whether these could be static.

Signed-off-by: Roel Kluin <roel.kluin@...il.com>
---
 samples/markers/probe-example.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/samples/markers/probe-example.c b/samples/markers/probe-example.c
index 2dfb3b3..d816aad 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(void *probe_data, void *call_data,
+static void probe_subsystem_event(void *probe_data, void *call_data,
 	const char *format, va_list *args)
 {
 	/* Declare args */
@@ -37,9 +37,9 @@ void probe_subsystem_event(void *probe_data, void *call_data,
 	/* or count, check rights, serialize data in a buffer */
 }
 
-atomic_t eventb_count = ATOMIC_INIT(0);
+static atomic_t eventb_count = ATOMIC_INIT(0);
 
-void probe_subsystem_eventb(void *probe_data, void *call_data,
+static void probe_subsystem_eventb(void *probe_data, void *call_data,
 	const char *format, va_list *args)
 {
 	/* Increment counter */

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ