move int-util.h to epee

This commit is contained in:
moneromooo-monero 2018-11-18 10:17:24 +00:00
parent a605c0da08
commit ec1a62b50d
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3
16 changed files with 14 additions and 15 deletions

View File

@ -63,7 +63,6 @@ set(common_private_headers
error.h error.h
expect.h expect.h
http_connection.h http_connection.h
int-util.h
notify.h notify.h
pod-class.h pod-class.h
rpc_client.h rpc_client.h

View File

@ -19,7 +19,7 @@ Issue Date: 20/12/2007
*/ */
#include <stdint.h> #include <stdint.h>
#include "common/int-util.h" #include "int-util.h"
#if defined(__cplusplus) #if defined(__cplusplus)
extern "C" extern "C"

View File

@ -11,7 +11,7 @@ Public domain.
#endif #endif
#include "chacha.h" #include "chacha.h"
#include "common/int-util.h" #include "int-util.h"
#include "warnings.h" #include "warnings.h"
/* /*

View File

@ -29,7 +29,7 @@
#ifndef __tables_h #ifndef __tables_h
#define __tables_h #define __tables_h
#include "common/int-util.h" #include "int-util.h"
#if BYTE_ORDER == LITTLE_ENDIAN #if BYTE_ORDER == LITTLE_ENDIAN

View File

@ -37,7 +37,7 @@
#include <stddef.h> #include <stddef.h>
#include <stdint.h> #include <stdint.h>
#include "common/int-util.h" #include "int-util.h"
#include "warnings.h" #include "warnings.h"
static inline void *padd(void *p, size_t i) { static inline void *padd(void *p, size_t i) {

View File

@ -5,7 +5,7 @@
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <unistd.h> #include <unistd.h>
#include "common/int-util.h" #include "int-util.h"
#include "hash-ops.h" #include "hash-ops.h"
#include "keccak.h" #include "keccak.h"

View File

@ -114,7 +114,7 @@ typedef uint64_t u64b_t; /* 64-bit unsigned integer */
#ifndef SKEIN_NEED_SWAP /* compile-time "override" for endianness? */ #ifndef SKEIN_NEED_SWAP /* compile-time "override" for endianness? */
#include "common/int-util.h" #include "int-util.h"
#define IS_BIG_ENDIAN 4321 /* byte 0 is most significant (mc68k) */ #define IS_BIG_ENDIAN 4321 /* byte 0 is most significant (mc68k) */
#define IS_LITTLE_ENDIAN 1234 /* byte 0 is least significant (i386) */ #define IS_LITTLE_ENDIAN 1234 /* byte 0 is least significant (i386) */

View File

@ -35,7 +35,7 @@
#include <stdio.h> #include <stdio.h>
#include <unistd.h> #include <unistd.h>
#include "common/int-util.h" #include "int-util.h"
#include "hash-ops.h" #include "hash-ops.h"
#include "oaes_lib.h" #include "oaes_lib.h"
#include "variant2_int_sqrt.h" #include "variant2_int_sqrt.h"

View File

@ -40,7 +40,7 @@ using namespace epee;
#include "misc_language.h" #include "misc_language.h"
#include "common/base58.h" #include "common/base58.h"
#include "crypto/hash.h" #include "crypto/hash.h"
#include "common/int-util.h" #include "int-util.h"
#include "common/dns_utils.h" #include "common/dns_utils.h"
#undef MONERO_DEFAULT_LOG_CATEGORY #undef MONERO_DEFAULT_LOG_CATEGORY

View File

@ -34,7 +34,7 @@
#include <cstdint> #include <cstdint>
#include <vector> #include <vector>
#include "common/int-util.h" #include "int-util.h"
#include "crypto/hash.h" #include "crypto/hash.h"
#include "cryptonote_config.h" #include "cryptonote_config.h"
#include "difficulty.h" #include "difficulty.h"

View File

@ -44,7 +44,7 @@
#include "misc_language.h" #include "misc_language.h"
#include "profile_tools.h" #include "profile_tools.h"
#include "file_io_utils.h" #include "file_io_utils.h"
#include "common/int-util.h" #include "int-util.h"
#include "common/threadpool.h" #include "common/threadpool.h"
#include "common/boost_serialization_helper.h" #include "common/boost_serialization_helper.h"
#include "warnings.h" #include "warnings.h"

View File

@ -40,7 +40,7 @@
#include "blockchain.h" #include "blockchain.h"
#include "blockchain_db/blockchain_db.h" #include "blockchain_db/blockchain_db.h"
#include "common/boost_serialization_helper.h" #include "common/boost_serialization_helper.h"
#include "common/int-util.h" #include "int-util.h"
#include "misc_language.h" #include "misc_language.h"
#include "warnings.h" #include "warnings.h"
#include "common/perf_timer.h" #include "common/perf_timer.h"

View File

@ -31,7 +31,7 @@
#include "device_default.hpp" #include "device_default.hpp"
#include "common/int-util.h" #include "int-util.h"
#include "cryptonote_basic/account.h" #include "cryptonote_basic/account.h"
#include "cryptonote_basic/subaddress_index.h" #include "cryptonote_basic/subaddress_index.h"
#include "ringct/rctOps.h" #include "ringct/rctOps.h"

View File

@ -42,7 +42,7 @@
#include <unordered_map> #include <unordered_map>
#include "wipeable_string.h" #include "wipeable_string.h"
#include "misc_language.h" #include "misc_language.h"
#include "common/int-util.h" #include "int-util.h"
#include "mnemonics/electrum-words.h" #include "mnemonics/electrum-words.h"
#include <boost/crc.hpp> #include <boost/crc.hpp>

View File

@ -30,7 +30,7 @@
#include "gtest/gtest.h" #include "gtest/gtest.h"
#include "common/int-util.h" #include "int-util.h"
namespace namespace
{ {