소스 검색

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 <assert.h>
-#include "../options.h"
 #include "ed25519_donna.h"
 #include "ed25519_donna.h"
 #include "../memzero.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). */
 /* sqrt(x) is such an integer y that 0 <= y <= p - 1, y % 2 = 0, and y^2 = x (mod p). */
 /* d = -121665 / 121666 */
 /* 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
 // Parts of this file are originally copyright (c) 2012-2013 The Cryptonote
 // developers
 // developers
 
 
-#include "../options.h"
+#include "options.h"
 
 
 #if USE_MONERO
 #if USE_MONERO
 
 

+ 2 - 0
lib/crypto/monero/serialize.c

@@ -2,6 +2,8 @@
 // Created by Dusan Klinec on 02/05/2018.
 // Created by Dusan Klinec on 02/05/2018.
 //
 //
 
 
+#include "options.h"
+
 #if USE_MONERO
 #if USE_MONERO
 
 
 #include "serialize.h"
 #include "serialize.h"

+ 2 - 0
lib/crypto/monero/xmr.c

@@ -2,6 +2,8 @@
 // Created by Dusan Klinec on 10/05/2018.
 // Created by Dusan Klinec on 10/05/2018.
 //
 //
 
 
+#include "options.h"
+
 #if USE_MONERO
 #if USE_MONERO
 
 
 #include "xmr.h"
 #include "xmr.h"