diff options
author | Dmitry V. Levin <ldv@strace.io> | 2021-12-01 12:00:00 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@strace.io> | 2021-12-01 12:00:00 +0000 |
commit | 562bc9c4bb2dd078bbfda7ca49d5657c451a1d54 (patch) | |
tree | d9dee38a49ec5fffa3b86bf1a5217732fb91dfbb | |
parent | fd92d526bedb512a0a01e5be305613cf9fb81d01 (diff) | |
download | strace-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.c | 4 |
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" |