summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry V. Levin <ldv@strace.io>2021-12-01 12:00:00 +0000
committerDmitry V. Levin <ldv@strace.io>2021-12-01 12:00:00 +0000
commit562bc9c4bb2dd078bbfda7ca49d5657c451a1d54 (patch)
treed9dee38a49ec5fffa3b86bf1a5217732fb91dfbb
parentfd92d526bedb512a0a01e5be305613cf9fb81d01 (diff)
downloadstrace-562bc9c4bb2dd078bbfda7ca49d5657c451a1d54.tar.gz
tests/keyctl.c: make all global variables static
* tests/keyctl.c (nul_terminated_buf, buf_in_arg): Add static qualifier.
-rw-r--r--tests/keyctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/keyctl.c b/tests/keyctl.c
index 4da766882..397639463 100644
--- a/tests/keyctl.c
+++ b/tests/keyctl.c
@@ -34,8 +34,8 @@ static const size_t limit = 10;
* DH_COMPUTE and I see no ability to pass this information without
* significantly breaking interface.
*/
-bool nul_terminated_buf = true;
-bool buf_in_arg;
+static bool nul_terminated_buf = true;
+static bool buf_in_arg;
/* From ioctl_dm.c */
#define STR32 "AbCdEfGhIjKlMnOpQrStUvWxYz012345"