mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
tests,examples: remove unneeded headers, fix style
This commit is contained in:
parent
d4ff405e21
commit
1c825e2524
@ -23,7 +23,6 @@
|
||||
|
||||
#include "thread.h"
|
||||
#include "msg.h"
|
||||
#include "kernel.h"
|
||||
|
||||
void *second_thread(void *arg)
|
||||
{
|
||||
|
@ -25,7 +25,6 @@
|
||||
* all included headers defining c functions, i.e. all RIOT functions, must be marked as extern "C"
|
||||
*/
|
||||
extern "C" {
|
||||
#include "kernel.h"
|
||||
#include "thread.h"
|
||||
|
||||
#include "c_functions.h"
|
||||
|
@ -1,8 +1,6 @@
|
||||
#ifndef DEMO_H
|
||||
#define DEMO_H
|
||||
|
||||
#include "kernel.h"
|
||||
|
||||
#define APP_VERSION "1.1"
|
||||
|
||||
#define RADIO_CHANNEL (10)
|
||||
|
@ -26,7 +26,6 @@
|
||||
#include "shell_commands.h"
|
||||
#include "board_uart0.h"
|
||||
#include "destiny.h"
|
||||
#include "kernel.h"
|
||||
|
||||
#include "demo.h"
|
||||
|
||||
|
@ -24,7 +24,6 @@
|
||||
#include <stdio.h>
|
||||
#include <inttypes.h>
|
||||
|
||||
#include "kernel.h"
|
||||
#include "thread.h"
|
||||
|
||||
#include "destiny/socket.h"
|
||||
|
@ -19,9 +19,10 @@
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <board.h>
|
||||
#include <math.h>
|
||||
|
||||
#include "board.h"
|
||||
|
||||
int main(void)
|
||||
{
|
||||
double x = 1234567. / 1024., z;
|
||||
|
@ -23,7 +23,6 @@
|
||||
|
||||
#include "thread.h"
|
||||
#include "msg.h"
|
||||
#include "kernel.h"
|
||||
|
||||
#define ENABLE_DEBUG (0)
|
||||
#include "debug.h"
|
||||
|
@ -31,7 +31,6 @@
|
||||
#include <pthread.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include "kernel.h"
|
||||
#include "random.h"
|
||||
#include "sched.h"
|
||||
#include "thread.h"
|
||||
|
@ -17,8 +17,6 @@
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#include "flags.h"
|
||||
#include "kernel.h"
|
||||
#include "msg.h"
|
||||
#include "sched.h"
|
||||
#include "thread.h"
|
||||
|
@ -19,9 +19,7 @@
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <thread.h>
|
||||
#include <flags.h>
|
||||
#include <kernel.h>
|
||||
#include "thread.h"
|
||||
|
||||
char t2_stack[KERNEL_CONF_STACKSIZE_MAIN];
|
||||
|
||||
|
@ -20,10 +20,9 @@
|
||||
|
||||
#include <stdio.h>
|
||||
#include <inttypes.h>
|
||||
#include <thread.h>
|
||||
#include <flags.h>
|
||||
#include <kernel.h>
|
||||
#include <mutex.h>
|
||||
|
||||
#include "thread.h"
|
||||
#include "mutex.h"
|
||||
|
||||
#define PROBLEM 12
|
||||
|
||||
|
@ -21,8 +21,6 @@
|
||||
#include <stdio.h>
|
||||
|
||||
#include "thread.h"
|
||||
#include "flags.h"
|
||||
#include "kernel.h"
|
||||
|
||||
char second_thread_stack[KERNEL_CONF_STACKSIZE_MAIN];
|
||||
char third_thread_stack[KERNEL_CONF_STACKSIZE_MAIN];
|
||||
|
Loading…
Reference in New Issue
Block a user