aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoman Bapst <romanbapst@yahoo.de>2014-11-11 13:26:24 +0100
committerRoman Bapst <romanbapst@yahoo.de>2014-11-11 13:26:24 +0100
commitc8ad06ff9966884242a1ce80eddb4a45efc30c50 (patch)
treecb7d32ec9813be119f1e12ec63bad8bb43f3b271
parent3bfc4a5a52a7777088f21674dd8108026f5f057b (diff)
downloadpx4-firmware-c8ad06ff9966884242a1ce80eddb4a45efc30c50.tar.gz
px4-firmware-c8ad06ff9966884242a1ce80eddb4a45efc30c50.tar.bz2
px4-firmware-c8ad06ff9966884242a1ce80eddb4a45efc30c50.zip
removed platform specificness
-rw-r--r--src/modules/systemlib/err.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/modules/systemlib/err.h b/src/modules/systemlib/err.h
index 2a201ee80..ca13d6265 100644
--- a/src/modules/systemlib/err.h
+++ b/src/modules/systemlib/err.h
@@ -67,7 +67,6 @@
#include <stdarg.h>
-#ifdef CONFIG_ARCH_ARM
__BEGIN_DECLS
__EXPORT const char *getprogname(void);
@@ -87,8 +86,4 @@ __EXPORT void vwarnx(const char *fmt, va_list) __attribute__((format(printf, 1,
__END_DECLS
-#else //we are using ROS (should make a variable!!!)
-#include <ros/ros.h>
-#define warnx ROS_WARN
-#endif
#endif