mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-10 13:13:27 +01:00
move int-util.h to epee
This commit is contained in:
parent
a605c0da08
commit
ec1a62b50d
@ -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
|
||||||
|
@ -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"
|
||||||
|
@ -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"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -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
|
||||||
|
@ -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) {
|
||||||
|
@ -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"
|
||||||
|
|
||||||
|
@ -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) */
|
||||||
|
@ -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"
|
||||||
|
@ -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
|
||||||
|
@ -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"
|
||||||
|
@ -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"
|
||||||
|
@ -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"
|
||||||
|
@ -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"
|
||||||
|
@ -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>
|
||||||
|
|
||||||
|
@ -30,7 +30,7 @@
|
|||||||
|
|
||||||
#include "gtest/gtest.h"
|
#include "gtest/gtest.h"
|
||||||
|
|
||||||
#include "common/int-util.h"
|
#include "int-util.h"
|
||||||
|
|
||||||
namespace
|
namespace
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user