summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2008-10-11 07:20:47 +0200
committerSimon Josefsson <simon@josefsson.org>2008-10-11 07:20:47 +0200
commit696240d44217f7c69055052845cd0810418c304b (patch)
tree660962e240a5df21ff9fdbc46d0d413b7c52fcd8
parentdd7aba31272c9fe6cfb004e3e8d92063e355b56c (diff)
downloadgnutls-696240d44217f7c69055052845cd0810418c304b.tar.gz
Add static qualifiers on internal symbols.
Tiny patch from Aaron Ucko <ucko@ncbi.nlm.nih.gov>.
-rw-r--r--THANKS1
-rw-r--r--libextra/fipsmd5.c4
2 files changed, 3 insertions, 2 deletions
diff --git a/THANKS b/THANKS
index cdb57072e2..ca0b1ac80e 100644
--- a/THANKS
+++ b/THANKS
@@ -91,6 +91,7 @@ Kevin Quick <quick@sparq.org>
Arfrever Frehtes Taifersar Arahesis <arfrever.fta@gmail.com>
Jonathan Manktelow <jonathan@dyalog.com>
Thomas Viehmann <tv@beamnet.de>
+Aaron Ucko <ucko@ncbi.nlm.nih.gov>
----------------------------------------------------------------------
Copying and distribution of this file, with or without modification,
diff --git a/libextra/fipsmd5.c b/libextra/fipsmd5.c
index 3edc3f46d9..114c396fd5 100644
--- a/libextra/fipsmd5.c
+++ b/libextra/fipsmd5.c
@@ -194,7 +194,7 @@ hmacmd5deinit (void *ctx)
gnutls_free (p);
}
-gnutls_crypto_single_digest_st dig = {
+static gnutls_crypto_single_digest_st dig = {
md5init,
NULL,
md5hash,
@@ -203,7 +203,7 @@ gnutls_crypto_single_digest_st dig = {
md5deinit
};
-gnutls_crypto_single_mac_st mac = {
+static gnutls_crypto_single_mac_st mac = {
hmacmd5init,
hmacmd5setkey,
hmacmd5hash,