diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2017-02-03 23:28:01 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2017-02-03 23:28:31 +0100 |
commit | e3d25aa439f3c98f0d715e9fa2fcbe98f9f8560d (patch) | |
tree | f5e59aba49bf61fe19fa6e5282120002d001f16e | |
parent | 3f6db7e15631f277beab72e9fe15772b4991dae1 (diff) | |
download | gnutls-e3d25aa439f3c98f0d715e9fa2fcbe98f9f8560d.tar.gz |
extras/hex.h: do not use strlen as variable nametmp-fix-pkcs11-import-url4
That is, do not utilize a standard C function name as variable name.
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
-rw-r--r-- | lib/extras/hex.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/extras/hex.h b/lib/extras/hex.h index 0a0d5c5aa8..e2ce3ff28a 100644 --- a/lib/extras/hex.h +++ b/lib/extras/hex.h @@ -66,8 +66,8 @@ static inline size_t hex_str_size(size_t bytes) * * hex_decode(str, strlen(str), buf, sizeof(buf)); */ -static inline size_t hex_data_size(size_t strlen) +static inline size_t hex_data_size(size_t slen) { - return strlen / 2; + return slen / 2; } #endif /* PETTYCOIN_HEX_H */ |