From f8ab32aaa4efce2c9a310a14d10b19fb8544cfd9 Mon Sep 17 00:00:00 2001 From: iphydf Date: Sat, 2 May 2020 00:34:13 +0100 Subject: Add a check that we don't have any unused functions. This check puts all of our code in a C++ anonymous namespace, which is effectively making all functions `static`. This allows the compiler to determine that a function is unused, so we can delete it. --- .../sse/pwhash_scryptsalsa208sha256_sse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'toxencryptsave/crypto_pwhash_scryptsalsa208sha256/sse') diff --git a/toxencryptsave/crypto_pwhash_scryptsalsa208sha256/sse/pwhash_scryptsalsa208sha256_sse.c b/toxencryptsave/crypto_pwhash_scryptsalsa208sha256/sse/pwhash_scryptsalsa208sha256_sse.c index 7f015238..38a536a6 100644 --- a/toxencryptsave/crypto_pwhash_scryptsalsa208sha256/sse/pwhash_scryptsalsa208sha256_sse.c +++ b/toxencryptsave/crypto_pwhash_scryptsalsa208sha256/sse/pwhash_scryptsalsa208sha256_sse.c @@ -398,4 +398,4 @@ escrypt_kdf_sse(escrypt_local_t * local, #endif /* ISO C requires a translation unit to contain at least one declaration */ -extern int non_empty_tu_decl; +typedef int non_empty_tu_decl; -- cgit v1.2.3