tests/rng: Clean up includes

This commit is contained in:
Joakim Nohlgård 2018-02-04 07:59:35 +01:00
parent 47bbeb8969
commit 2bf1068c72
3 changed files with 16 additions and 11 deletions

View File

@ -19,6 +19,9 @@
*/ */
#include <stdio.h> #include <stdio.h>
#include <stdint.h>
#include <stdlib.h>
#include <inttypes.h>
#include "shell.h" #include "shell.h"

View File

@ -6,8 +6,20 @@
* directory for more details. * directory for more details.
*/ */
#include <stdint.h>
#include <math.h>
#include <stdio.h>
#include "test.h" #include "test.h"
#include "fmt.h"
#include "random.h"
#include "xtimer.h"
#ifdef MODULE_PERIPH_HWRNG
#include "periph/hwrng.h"
#endif
/** /**
* @brief Seed for initializing random module. * @brief Seed for initializing random module.
*/ */

View File

@ -9,17 +9,7 @@
#ifndef TEST_H #ifndef TEST_H
#define TEST_H #define TEST_H
#include <math.h> #include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include "fmt.h"
#include "random.h"
#include "xtimer.h"
#ifdef MODULE_PERIPH_HWRNG
#include "periph/hwrng.h"
#endif
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {