aboutsummaryrefslogtreecommitdiffstats
path: root/src/sha1.c
diff options
context:
space:
mode:
authorLukas Fleischer <calcurse@cryptocrack.de>2012-04-20 23:10:22 +0200
committerLukas Fleischer <calcurse@cryptocrack.de>2012-04-20 23:10:56 +0200
commit315b33540a008fba0af1cdbad5d3448d98a6e73c (patch)
treeb72a0ee2a1dce0ece7f45fedb45601327a8497b6 /src/sha1.c
parent0791eaabca0fb1ef8a8675e47d701bbcde4d4a3f (diff)
downloadcalcurse-315b33540a008fba0af1cdbad5d3448d98a6e73c.tar.gz
calcurse-315b33540a008fba0af1cdbad5d3448d98a6e73c.zip
Mark several functions static
These are not needed outside of the corresponding compilation units. Spotted with "-Wmissing-prototypes". Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src/sha1.c')
-rw-r--r--src/sha1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sha1.c b/src/sha1.c
index 08d5e5e..e1bb8cc 100644
--- a/src/sha1.c
+++ b/src/sha1.c
@@ -67,7 +67,7 @@
#define R4(v, w, x, y, z, i) z += (w ^ x ^ y) + blk (i) + 0xCA62C1D6 + \
rol (v, 5); w = rol (w, 30);
-void
+static void
sha1_transform (uint32_t state[5], const uint8_t buffer[64])
{
typedef union {