diff options
author | Haru <haru@dotalux.com> | 2018-07-01 21:51:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-01 21:51:00 +0200 |
commit | 0a151c27ebef40f965cd87f436c72c044a3284ac (patch) | |
tree | d2892f1fe37846f56da93c89aa0b29e9442205ca /src/common/md5calc.c | |
parent | 392238d4a9fe4ca3cc68098d9709c27c92409c8b (diff) | |
parent | 42f7eb821648b0076163faf968a83ab5dd2ce672 (diff) | |
download | hercules-0a151c27ebef40f965cd87f436c72c044a3284ac.tar.gz hercules-0a151c27ebef40f965cd87f436c72c044a3284ac.tar.bz2 hercules-0a151c27ebef40f965cd87f436c72c044a3284ac.tar.xz hercules-0a151c27ebef40f965cd87f436c72c044a3284ac.zip |
Merge pull request #2112 from MishimaHaruna/staticfunctions
Staticfunctions
Diffstat (limited to 'src/common/md5calc.c')
-rw-r--r-- | src/common/md5calc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/common/md5calc.c b/src/common/md5calc.c index 9784bd7b8..3f9ccdc41 100644 --- a/src/common/md5calc.c +++ b/src/common/md5calc.c @@ -34,7 +34,7 @@ * Implementation of the md5 interface. */ -struct md5_interface md5_s; +static struct md5_interface md5_s; struct md5_interface *md5; /// Global variable @@ -233,7 +233,7 @@ static void md5_buf2binary(const uint8 *buf, const int buf_size, uint8 *output) } /// @copydoc md5_interface::string() -void md5_string(const char *string, char *output) +static void md5_string(const char *string, char *output) { uint8 digest[16]; @@ -249,7 +249,7 @@ void md5_string(const char *string, char *output) } /// @copydoc md5_interface::salt(); -void md5_salt(int len, char *output) +static void md5_salt(int len, char *output) { int i; Assert_retv(len > 0); |