summaryrefslogtreecommitdiffstats
path: root/libtomcrypt
diff options
context:
space:
mode:
authorMiloslav Trmač <mitr@redhat.com>2010-07-09 11:10:29 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2010-07-19 09:27:09 +0200
commit7d3e97fd97133419ed9cbc3cee857c638519501f (patch)
tree2e4bfa35016d8bf9560b8a0d5e06d50026a7cf8f /libtomcrypt
parentb52bc8426ca68d29e7ef36ecc947f8eaa4053bd7 (diff)
downloadcryptodev-linux-7d3e97fd97133419ed9cbc3cee857c638519501f.tar.gz
cryptodev-linux-7d3e97fd97133419ed9cbc3cee857c638519501f.tar.xz
cryptodev-linux-7d3e97fd97133419ed9cbc3cee857c638519501f.zip
sparse: add missing 'static'
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Diffstat (limited to 'libtomcrypt')
-rw-r--r--libtomcrypt/hashes/hash_get_oid.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/libtomcrypt/hashes/hash_get_oid.c b/libtomcrypt/hashes/hash_get_oid.c
index 0a761b1..32e4390 100644
--- a/libtomcrypt/hashes/hash_get_oid.c
+++ b/libtomcrypt/hashes/hash_get_oid.c
@@ -16,32 +16,32 @@
@return CRYPT_OK if valid
*/
-const oid_st sha1_oid = {
+static const oid_st sha1_oid = {
.OIDlen = 6,
.OID = { 1, 3, 14, 3, 2, 26 },
};
-const oid_st md5_oid = {
+static const oid_st md5_oid = {
.OIDlen = 6,
.OID = { 1, 2, 840, 113549, 2, 5, },
};
-const oid_st sha224_oid = {
+static const oid_st sha224_oid = {
.OIDlen = 9,
.OID = { 2, 16, 840, 1, 101, 3, 4, 2, 4, },
};
-const oid_st sha256_oid = {
+static const oid_st sha256_oid = {
.OIDlen = 9,
.OID = { 2, 16, 840, 1, 101, 3, 4, 2, 1, },
};
-const oid_st sha384_oid = {
+static const oid_st sha384_oid = {
.OIDlen = 9,
.OID = { 2, 16, 840, 1, 101, 3, 4, 2, 2, },
};
-const oid_st sha512_oid = {
+static const oid_st sha512_oid = {
.OIDlen = 9,
.OID = { 2, 16, 840, 1, 101, 3, 4, 2, 3, },
};