Staticise globals
This commit is contained in:
parent
a84cbe9e1c
commit
90507652c0
2
md5sum.c
2
md5sum.c
@ -7,7 +7,7 @@
|
||||
#include "md5.h"
|
||||
#include "util.h"
|
||||
|
||||
struct md5 s;
|
||||
static struct md5 s;
|
||||
struct crypt_ops md5_ops = {
|
||||
md5_init,
|
||||
md5_update,
|
||||
|
@ -7,7 +7,7 @@
|
||||
#include "sha1.h"
|
||||
#include "util.h"
|
||||
|
||||
struct sha1 s;
|
||||
static struct sha1 s;
|
||||
struct crypt_ops sha1_ops = {
|
||||
sha1_init,
|
||||
sha1_update,
|
||||
|
@ -7,7 +7,7 @@
|
||||
#include "sha256.h"
|
||||
#include "util.h"
|
||||
|
||||
struct sha256 s;
|
||||
static struct sha256 s;
|
||||
struct crypt_ops sha256_ops = {
|
||||
sha256_init,
|
||||
sha256_update,
|
||||
|
@ -7,7 +7,7 @@
|
||||
#include "sha512.h"
|
||||
#include "util.h"
|
||||
|
||||
struct sha512 s;
|
||||
static struct sha512 s;
|
||||
struct crypt_ops sha512_ops = {
|
||||
sha512_init,
|
||||
sha512_update,
|
||||
|
Loading…
Reference in New Issue
Block a user