[beast: 3/20] SFI: build and use randomhash.hh and entropy.hh
- From: Tim Janik <timj src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [beast: 3/20] SFI: build and use randomhash.hh and entropy.hh
- Date: Sun, 24 Sep 2017 00:19:53 +0000 (UTC)
commit c9e0badbb6bfc31d03d878df74ac1daa5b78e94c
Author: Tim Janik <timj gnu org>
Date: Sun Sep 17 01:51:25 2017 +0200
SFI: build and use randomhash.hh and entropy.hh
Signed-off-by: Tim Janik <timj gnu org>
sfi/Makefile.am | 4 ++++
sfi/bcore.hh | 4 ----
sfi/testing.cc | 1 +
3 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/sfi/Makefile.am b/sfi/Makefile.am
index ed8494b..1b86be0 100644
--- a/sfi/Makefile.am
+++ b/sfi/Makefile.am
@@ -17,6 +17,8 @@ sfi_public_headers = $(strip \
sficxx.hh sfiring.hh sfimemory.hh sficomport.hh \
sfi.hh \
gbsearcharray.hh \
+ entropy.hh \
+ randomhash.hh \
testing.hh \
)
sfi_all_sources = $(strip \
@@ -28,6 +30,8 @@ sfi_all_sources = $(strip \
sfitime.cc sfitypes.cc sfivalues.cc \
sfivisitors.cc sfiustore.cc \
sfiring.cc sfimemory.cc sficomport.cc \
+ entropy.cc \
+ randomhash.cc \
testing.cc \
)
sfi_extra_sources = $(strip \
diff --git a/sfi/bcore.hh b/sfi/bcore.hh
index 53db9f8..6bfa8ff 100644
--- a/sfi/bcore.hh
+++ b/sfi/bcore.hh
@@ -37,10 +37,6 @@ using Rapicorn::TaskStatus;
using Rapicorn::ThreadInfo;
using Rapicorn::cpu_info;
using Rapicorn::AsyncBlockingQueue;
-using Rapicorn::random_int64;
-using Rapicorn::random_float;
-using Rapicorn::random_irange;
-using Rapicorn::random_frange;
namespace ThisThread = Rapicorn::ThisThread;
// == Diagnostics ==
diff --git a/sfi/testing.cc b/sfi/testing.cc
index 3e42f2b..8ac9533 100644
--- a/sfi/testing.cc
+++ b/sfi/testing.cc
@@ -7,6 +7,7 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
+#include <sfi/randomhash.hh>
#define TDEBUG(...) Bse::debug ("Test", __VA_ARGS__)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]