]> rtime.felk.cvut.cz Git - pes-rpp/rpp-lwip.git/commitdiff
fixed bug #34884: sys_msleep() body needs to be surrounded with '#ifndef sys_msleep'
authorgoldsimon <goldsimon@gmx.de>
Wed, 23 Nov 2011 19:58:19 +0000 (20:58 +0100)
committergoldsimon <goldsimon@gmx.de>
Wed, 23 Nov 2011 19:58:19 +0000 (20:58 +0100)
CHANGELOG
src/core/sys.c

index 68b275c836c49ba5d810f50030d1765ed004193d..3d827ca738c39094653370dac27ead299082b535 100644 (file)
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -69,6 +69,10 @@ HISTORY
 
  ++ 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
   * netif.c, etharp.h/.c: fixed bug #34684: Clear the arp table cache when
     netif is brought down
index d3a77deb2896694d5f210ffc5bbee0378136d783..f1777372621c68ba661dcc454d16bd542994b96c 100644 (file)
@@ -45,6 +45,7 @@
 
 #if !NO_SYS
 
+#ifndef sys_msleep
 /**
  * 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 */