summaryrefslogtreecommitdiffstats
path: root/fastos
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2017-05-04 17:02:36 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2017-05-05 10:54:40 +0200
commite65dcd57fa0ff56e23f75592beb30b88ec5dbca3 (patch)
treea83ca74217ea6b63bfc2408ab80087274d6c1754 /fastos
parent9fa87eb2042fb7c0640ef9d424e4cb9953e8c356 (diff)
ISO C++1z does not allow ‘register’ storage class specifier (gcc 7)
Diffstat (limited to 'fastos')
-rw-r--r--fastos/src/tests/prefetchtest.cpp13
1 files changed, 4 insertions, 9 deletions
diff --git a/fastos/src/tests/prefetchtest.cpp b/fastos/src/tests/prefetchtest.cpp
index 5749ef2ae54..c5acc623874 100644
--- a/fastos/src/tests/prefetchtest.cpp
+++ b/fastos/src/tests/prefetchtest.cpp
@@ -12,25 +12,20 @@
* ALL RIGHTS RESERVED
*************************************************************************/
-
-
-#include <stdlib.h>
-#include <vespa/fastos/fastos.h>
#include "tests.h"
-
+#include <vespa/fastos/time.h>
+#include <vespa/fastos/prefetch.h>
class PrefetchTestApp : public BaseTest
{
-private:
-
public:
- virtual ~PrefetchTestApp() {};
+ virtual ~PrefetchTestApp() {}
bool PrefetchTest ()
{
bool rc = false;
int j, size, *a;
- register int or1, or2;
+ int or1, or2;
FastOS_Time start, stop;
double timeVal;