From 1eae49b977fd3e3c57d7bc115c5efee8af5727a9 Mon Sep 17 00:00:00 2001 From: xtruan Date: Thu, 1 Aug 2024 20:34:08 -0600 Subject: [PATCH] fix: warning fixes --- lib/crypto/ed25519_donna/ed25519_donna_impl_base.c | 2 +- lib/crypto/monero/base58.c | 2 +- lib/crypto/monero/serialize.c | 2 ++ lib/crypto/monero/xmr.c | 2 ++ 4 files changed, 6 insertions(+), 2 deletions(-) diff --git a/lib/crypto/ed25519_donna/ed25519_donna_impl_base.c b/lib/crypto/ed25519_donna/ed25519_donna_impl_base.c index 521d546..f19a288 100644 --- a/lib/crypto/ed25519_donna/ed25519_donna_impl_base.c +++ b/lib/crypto/ed25519_donna/ed25519_donna_impl_base.c @@ -1,7 +1,7 @@ #include -#include "../options.h" #include "ed25519_donna.h" #include "../memzero.h" +#include "options.h" /* sqrt(x) is such an integer y that 0 <= y <= p - 1, y % 2 = 0, and y^2 = x (mod p). */ /* d = -121665 / 121666 */ diff --git a/lib/crypto/monero/base58.c b/lib/crypto/monero/base58.c index 607f17f..ba61bd8 100644 --- a/lib/crypto/monero/base58.c +++ b/lib/crypto/monero/base58.c @@ -31,7 +31,7 @@ // Parts of this file are originally copyright (c) 2012-2013 The Cryptonote // developers -#include "../options.h" +#include "options.h" #if USE_MONERO diff --git a/lib/crypto/monero/serialize.c b/lib/crypto/monero/serialize.c index 0023c96..57befa3 100644 --- a/lib/crypto/monero/serialize.c +++ b/lib/crypto/monero/serialize.c @@ -2,6 +2,8 @@ // Created by Dusan Klinec on 02/05/2018. // +#include "options.h" + #if USE_MONERO #include "serialize.h" diff --git a/lib/crypto/monero/xmr.c b/lib/crypto/monero/xmr.c index 9172006..d02121e 100644 --- a/lib/crypto/monero/xmr.c +++ b/lib/crypto/monero/xmr.c @@ -2,6 +2,8 @@ // Created by Dusan Klinec on 10/05/2018. // +#include "options.h" + #if USE_MONERO #include "xmr.h"