]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
md4, md5: drop redundant forward declarations
authorViktor Szakats <commit@vsz.me>
Tue, 13 Jan 2026 14:53:09 +0000 (15:53 +0100)
committerViktor Szakats <commit@vsz.me>
Tue, 13 Jan 2026 16:43:35 +0000 (17:43 +0100)
Closes #20291

lib/md4.c
lib/md5.c

index 33531fe9cac5e5f9df3658cbba04501439ecb5fd..d2a905828954f26f722b712a8256a2bf6d9c1f28 100644 (file)
--- a/lib/md4.c
+++ b/lib/md4.c
@@ -201,10 +201,6 @@ struct md4_ctx {
 };
 typedef struct md4_ctx MD4_CTX;
 
-static int MD4_Init(MD4_CTX *ctx);
-static void MD4_Update(MD4_CTX *ctx, const void *data, unsigned long size);
-static void MD4_Final(unsigned char *result, MD4_CTX *ctx);
-
 /*
  * The basic MD4 functions.
  *
index c0a8acc709f85de58030d8318706a70b4d1d0c91..f8b100d83dcf8be39570bd6dc55640f7cb1da552 100644 (file)
--- a/lib/md5.c
+++ b/lib/md5.c
@@ -287,11 +287,6 @@ struct md5_ctx {
 };
 typedef struct md5_ctx my_md5_ctx;
 
-static CURLcode my_md5_init(void *ctx);
-static void my_md5_update(void *ctx, const unsigned char *data,
-                          unsigned int size);
-static void my_md5_final(unsigned char *result, void *ctx);
-
 /*
  * The basic MD5 functions.
  *