Browse Source

fix some compiler warnings

dev/timer
Ludwig Ortmann 10 years ago
parent
commit
144ebba9ca
  1. 4
      cpu/native/atomic_cpu.c
  2. 1
      cpu/native/lpm_cpu.c
  3. 1
      cpu/native/rtc/posix-rtc.c
  4. 3
      cpu/native/startup.c

4
cpu/native/atomic_cpu.c

@ -14,8 +14,8 @@
*/
#include <atomic.h>
#include <cpu.h>
#include "debug.h"
#include <irq.h>
#include <debug.h>
unsigned int atomic_set_return(unsigned int* val, unsigned int set)
{

1
cpu/native/lpm_cpu.c

@ -14,6 +14,7 @@
*/
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include "lpm.h"
#include "debug.h"

1
cpu/native/rtc/posix-rtc.c

@ -14,6 +14,7 @@
*/
#include <time.h>
#include <err.h>
#include "debug.h"

3
cpu/native/startup.c

@ -15,8 +15,11 @@
#include <stdio.h>
#include <kernel_intern.h>
#include <cpu.h>
extern void board_init(void);
extern void native_cpu_init(void);
extern void native_interrupt_init(void);
__attribute__ ((constructor)) static void startup(void)
{

Loading…
Cancel
Save