[rtems commit] samples/fileio: Fix warning
Sebastian Huber
sebh at rtems.org
Thu Nov 20 13:53:25 UTC 2014
Module: rtems
Branch: master
Commit: ab085c92eb9b1a032daf34ef29af7ab1ab7278b0
Changeset: http://git.rtems.org/rtems/commit/?id=ab085c92eb9b1a032daf34ef29af7ab1ab7278b0
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Tue Nov 18 10:42:34 2014 +0100
samples/fileio: Fix warning
---
testsuites/samples/fileio/init.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/testsuites/samples/fileio/init.c b/testsuites/samples/fileio/init.c
index 735b588..1c6c88c 100644
--- a/testsuites/samples/fileio/init.c
+++ b/testsuites/samples/fileio/init.c
@@ -214,7 +214,9 @@ fstab_t fs_table[] = {
}
};
+#ifndef MIN
#define MIN(a,b) (((a) > (b)) ? (b) : (a))
+#endif
#define USE_SHELL
More information about the vc
mailing list