From: Martin Matuska Date: Sun, 5 Jan 2020 02:09:34 +0000 (+0100) Subject: Minor style newline consistency fixes X-Git-Tag: v3.4.2~51 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f9b3ac2069851d329c6a492457f6ea7ab3eefcad;p=thirdparty%2Flibarchive.git Minor style newline consistency fixes --- diff --git a/libarchive/archive_cryptor.c b/libarchive/archive_cryptor.c index 769756d0b..8ab2b0979 100644 --- a/libarchive/archive_cryptor.c +++ b/libarchive/archive_cryptor.c @@ -299,6 +299,7 @@ aes_ctr_release(archive_crypto_ctx *ctx) } #elif defined(HAVE_LIBMBEDCRYPTO) && defined(HAVE_MBEDTLS_AES_H) + static int aes_ctr_init(archive_crypto_ctx *ctx, const uint8_t *key, size_t key_len) { diff --git a/libarchive/archive_hmac.c b/libarchive/archive_hmac.c index 68f2bb55d..2a9d04c8d 100644 --- a/libarchive/archive_hmac.c +++ b/libarchive/archive_hmac.c @@ -151,6 +151,7 @@ __hmac_sha1_cleanup(archive_hmac_sha1_ctx *ctx) } #elif defined(HAVE_LIBMBEDCRYPTO) && defined(HAVE_MBEDTLS_MD_H) + static int __hmac_sha1_init(archive_hmac_sha1_ctx *ctx, const uint8_t *key, size_t key_len) { diff --git a/libarchive/archive_write.c b/libarchive/archive_write.c index afa26b8ea..3ef9ac649 100644 --- a/libarchive/archive_write.c +++ b/libarchive/archive_write.c @@ -471,7 +471,6 @@ archive_write_client_free(struct archive_write_filter *f) return (ARCHIVE_OK); } - static int archive_write_client_close(struct archive_write_filter *f) {