summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2017-02-03 23:28:01 +0100
committerNikos Mavrogiannopoulos <nmav@redhat.com>2017-02-03 23:34:26 +0100
commit7622e125a49cf780187910436e6ad7971d995fca (patch)
tree663c1b4d0424ec1bae32c2d920899afb9521075e
parent88534b8fb4b6e3ae6493b41c7030395df3f9ee6c (diff)
downloadgnutls-tmp-gnutls3.5.x-fix-pkcs11-import-url4.tar.gz
extras/hex.h: do not use strlen as variable nametmp-gnutls3.5.x-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.h4
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 */