fixed bug #34884: sys_msleep() body needs to be surrounded with '#ifndef sys_msleep'

This commit is contained in:
goldsimon 2011-11-23 20:58:19 +01:00
parent f0b0a3760c
commit c4f3b8818a
2 changed files with 6 additions and 0 deletions

View File

@ -49,6 +49,10 @@ HISTORY
++ Bugfixes: ++ Bugfixes:
2011-11-23: Simon Goldschmidt
* sys.c: fixed bug #34884: sys_msleep() body needs to be surrounded with
'#ifndef sys_msleep'
2011-11-22: Simon Goldschmidt 2011-11-22: Simon Goldschmidt
* netif.c, etharp.h/.c: fixed bug #34684: Clear the arp table cache when * netif.c, etharp.h/.c: fixed bug #34684: Clear the arp table cache when
netif is brought down netif is brought down

View File

@ -45,6 +45,7 @@
#if !NO_SYS #if !NO_SYS
#ifndef sys_msleep
/** /**
* Sleep for some ms. Timeouts are NOT processed while sleeping. * Sleep for some ms. Timeouts are NOT processed while sleeping.
* *
@ -62,5 +63,6 @@ sys_msleep(u32_t ms)
} }
} }
} }
#endif /* sys_msleep */
#endif /* !NO_SYS */ #endif /* !NO_SYS */