فهرست منبع

fix: warning fixes

xtruan 1 سال پیش
والد
کامیت
1eae49b977
4فایلهای تغییر یافته به همراه6 افزوده شده و 2 حذف شده
  1. 1 1
      lib/crypto/ed25519_donna/ed25519_donna_impl_base.c
  2. 1 1
      lib/crypto/monero/base58.c
  3. 2 0
      lib/crypto/monero/serialize.c
  4. 2 0
      lib/crypto/monero/xmr.c

+ 1 - 1
lib/crypto/ed25519_donna/ed25519_donna_impl_base.c

@@ -1,7 +1,7 @@
 #include <assert.h>
-#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 */

+ 1 - 1
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
 

+ 2 - 0
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"

+ 2 - 0
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"