Staticise globals

This commit is contained in:
sin 2014-11-17 13:38:52 +00:00
parent a84cbe9e1c
commit 90507652c0
4 changed files with 4 additions and 4 deletions

View File

@ -7,7 +7,7 @@
#include "md5.h" #include "md5.h"
#include "util.h" #include "util.h"
struct md5 s; static struct md5 s;
struct crypt_ops md5_ops = { struct crypt_ops md5_ops = {
md5_init, md5_init,
md5_update, md5_update,

View File

@ -7,7 +7,7 @@
#include "sha1.h" #include "sha1.h"
#include "util.h" #include "util.h"
struct sha1 s; static struct sha1 s;
struct crypt_ops sha1_ops = { struct crypt_ops sha1_ops = {
sha1_init, sha1_init,
sha1_update, sha1_update,

View File

@ -7,7 +7,7 @@
#include "sha256.h" #include "sha256.h"
#include "util.h" #include "util.h"
struct sha256 s; static struct sha256 s;
struct crypt_ops sha256_ops = { struct crypt_ops sha256_ops = {
sha256_init, sha256_init,
sha256_update, sha256_update,

View File

@ -7,7 +7,7 @@
#include "sha512.h" #include "sha512.h"
#include "util.h" #include "util.h"
struct sha512 s; static struct sha512 s;
struct crypt_ops sha512_ops = { struct crypt_ops sha512_ops = {
sha512_init, sha512_init,
sha512_update, sha512_update,