sbase

suckless unix tools
git clone git://git.2f30.org/sbase
Log | Files | Refs | README | LICENSE

commit 90507652c0aa52f919a804a2cb6fef921ca39024
parent a84cbe9e1cd833c577ed19603712458432558b8c
Author: sin <sin@2f30.org>
Date:   Mon, 17 Nov 2014 13:38:52 +0000

Staticise globals

Diffstat:
Mmd5sum.c | 2+-
Msha1sum.c | 2+-
Msha256sum.c | 2+-
Msha512sum.c | 2+-
4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/md5sum.c b/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, diff --git a/sha1sum.c b/sha1sum.c @@ -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, diff --git a/sha256sum.c b/sha256sum.c @@ -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, diff --git a/sha512sum.c b/sha512sum.c @@ -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,