All of lore.kernel.org
 help / color / mirror / Atom feed
* [LTP] [PATCH 1/3] syscalls/creat: Add "static" in creat01 and creat04
@ 2017-09-06  9:56 Guangwen Feng
  2017-09-06  9:56 ` [LTP] [PATCH 2/3] syscalls/add_key: Make use of lapi/keyctl.h Guangwen Feng
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Guangwen Feng @ 2017-09-06  9:56 UTC (permalink / raw)
  To: ltp

Signed-off-by: Guangwen Feng <fenggw-fnst@cn.fujitsu.com>
---
 testcases/kernel/syscalls/creat/creat01.c | 4 ++--
 testcases/kernel/syscalls/creat/creat04.c | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/testcases/kernel/syscalls/creat/creat01.c b/testcases/kernel/syscalls/creat/creat01.c
index 571c771..6b70be2 100644
--- a/testcases/kernel/syscalls/creat/creat01.c
+++ b/testcases/kernel/syscalls/creat/creat01.c
@@ -36,12 +36,12 @@
 static char filename[40];
 static int fd;
 
-void setup(void)
+static void setup(void)
 {
 	sprintf(filename, "creat01.%d", getpid());
 }
 
-struct tcase {
+static struct tcase {
 	int mode;
 } tcases[] = {
 	{0644},
diff --git a/testcases/kernel/syscalls/creat/creat04.c b/testcases/kernel/syscalls/creat/creat04.c
index c973108..ebcaa17 100644
--- a/testcases/kernel/syscalls/creat/creat04.c
+++ b/testcases/kernel/syscalls/creat/creat04.c
@@ -68,7 +68,7 @@ static void verify_creat(unsigned int i)
 		child_fn(i);
 }
 
-void setup(void)
+static void setup(void)
 {
 	struct passwd *pw;
 	int fd;
-- 
2.9.4




^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2017-09-07 10:11 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-06  9:56 [LTP] [PATCH 1/3] syscalls/creat: Add "static" in creat01 and creat04 Guangwen Feng
2017-09-06  9:56 ` [LTP] [PATCH 2/3] syscalls/add_key: Make use of lapi/keyctl.h Guangwen Feng
2017-09-06 12:28   ` Cyril Hrubis
2017-09-06  9:56 ` [LTP] [PATCH 3/3] cve/cve-2016-7042: Make use of the fallback functions in lapi/keyctl.h Guangwen Feng
2017-09-06 12:29   ` Cyril Hrubis
2017-09-07  2:11     ` [LTP] [PATCH v2] " Guangwen Feng
2017-09-07 10:11       ` Cyril Hrubis
2017-09-06 12:22 ` [LTP] [PATCH 1/3] syscalls/creat: Add "static" in creat01 and creat04 Cyril Hrubis

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.