From 37c7755e38037cfa359e9b3bbee9bd17d9606d73 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 12 Aug 2012 15:12:10 +0000 Subject: Fix warnings. git-svn-id: http://svn.drobilla.net/lad/trunk/raul@4669 a436a847-0d15-0410-975c-d299462d15a1 --- test/table_test.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'test') diff --git a/test/table_test.cpp b/test/table_test.cpp index 80b12b2..70ab5b1 100644 --- a/test/table_test.cpp +++ b/test/table_test.cpp @@ -39,14 +39,15 @@ using namespace std; int range_end_val; -bool range_comparator(const int& a, const int& b) +static bool +range_comparator(const int& a, const int& b) { bool ret = (b >= a && b <= range_end_val); //cout << "COMP: " << a << " . " << b << " = " << ret << endl; return ret; } -void benchmark(size_t n); +static void benchmark(size_t n); int main(int argc, char** argv) @@ -233,14 +234,14 @@ main(int argc, char** argv) return 0; } -string +static string random_string() { string ret(60, 'A' + (rand() % 26)); return ret; } -void +static void benchmark(size_t n) { cout << "Benchmarking with n = " << n << endl; -- cgit v1.2.1