1
0
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:
Ludwig Ortmann 2014-07-15 18:47:39 +02:00
parent d4ff405e21
commit 1c825e2524
12 changed files with 6 additions and 20 deletions

View File

@ -23,7 +23,6 @@
#include "thread.h"
#include "msg.h"
#include "kernel.h"
void *second_thread(void *arg)
{

View File

@ -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"

View File

@ -1,8 +1,6 @@
#ifndef DEMO_H
#define DEMO_H
#include "kernel.h"
#define APP_VERSION "1.1"
#define RADIO_CHANNEL (10)

View File

@ -26,7 +26,6 @@
#include "shell_commands.h"
#include "board_uart0.h"
#include "destiny.h"
#include "kernel.h"
#include "demo.h"

View File

@ -24,7 +24,6 @@
#include <stdio.h>
#include <inttypes.h>
#include "kernel.h"
#include "thread.h"
#include "destiny/socket.h"

View File

@ -19,9 +19,10 @@
*/
#include <stdio.h>
#include <board.h>
#include <math.h>
#include "board.h"
int main(void)
{
double x = 1234567. / 1024., z;

View File

@ -23,7 +23,6 @@
#include "thread.h"
#include "msg.h"
#include "kernel.h"
#define ENABLE_DEBUG (0)
#include "debug.h"

View File

@ -31,7 +31,6 @@
#include <pthread.h>
#include <stdio.h>
#include "kernel.h"
#include "random.h"
#include "sched.h"
#include "thread.h"

View File

@ -17,8 +17,6 @@
#include <stdio.h>
#include "flags.h"
#include "kernel.h"
#include "msg.h"
#include "sched.h"
#include "thread.h"

View File

@ -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];

View File

@ -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

View File

@ -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];