summaryrefslogtreecommitdiff
path: root/src/md5.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-03-07 12:11:48 +0000
committerrubidium <rubidium@openttd.org>2007-03-07 12:11:48 +0000
commit24c4d5b06d231785db01500360c26815d8fe4d15 (patch)
tree757477dbdc02025cc29690a4e66e40f872cab02b /src/md5.h
parent36bb92ae241403d61dc7a3e5a1696b615be61395 (diff)
downloadopenttd-24c4d5b06d231785db01500360c26815d8fe4d15.tar.xz
(svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {};
Diffstat (limited to 'src/md5.h')
-rw-r--r--src/md5.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/md5.h b/src/md5.h
index 42cddc392..0e48fb4c2 100644
--- a/src/md5.h
+++ b/src/md5.h
@@ -68,11 +68,11 @@ typedef unsigned char md5_byte_t; /* 8-bit byte */
typedef unsigned int md5_word_t; /* 32-bit word */
/* Define the state of the MD5 Algorithm. */
-typedef struct md5_state_s {
+struct md5_state_t {
md5_word_t count[2]; /* message length in bits, lsw first */
md5_word_t abcd[4]; /* digest buffer */
md5_byte_t buf[64]; /* accumulate block */
-} md5_state_t;
+};
/* Initialize the algorithm. */
void md5_init(md5_state_t *pms);