diff options
Diffstat (limited to 'os/various')
-rw-r--r-- | os/various/memtest.cpp | 2 | ||||
-rw-r--r-- | os/various/memtest.h (renamed from os/various/memtest.hpp) | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/os/various/memtest.cpp b/os/various/memtest.cpp index 175ac56..b853fe7 100644 --- a/os/various/memtest.cpp +++ b/os/various/memtest.cpp @@ -18,7 +18,7 @@ #include <stddef.h> #include <stdlib.h> -#include "memtest.hpp" +#include "memtest.h" static unsigned int prng_seed = 42; diff --git a/os/various/memtest.hpp b/os/various/memtest.h index ba686a3..721b36b 100644 --- a/os/various/memtest.hpp +++ b/os/various/memtest.h @@ -14,8 +14,8 @@ limitations under the License. */ -#ifndef MEMTEST_HPP_ -#define MEMTEST_HPP_ +#ifndef MEMTEST_H_ +#define MEMTEST_H_ #define MEMTEST_WALKING_ONE (1 << 0) #define MEMTEST_WALKING_ZERO (1 << 1) @@ -37,7 +37,7 @@ typedef uint32_t testtype; /* * Error call back. */ -typedef void (*memtestecb_t)(memtest_t *testp, testtype type, size_t offset, +typedef void (*memtestecb_t)(memtest_t *testp, testtype type, size_t index, size_t current_width, uint32_t got, uint32_t expect); /* @@ -85,4 +85,4 @@ extern "C" { } #endif -#endif /* MEMTEST_HPP_ */ +#endif /* MEMTEST_H_ */ |