diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-11-21 08:49:57 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-11-21 08:52:29 +0100 |
commit | 11925eef789566a226d8eaacbceb4d89df787ebc (patch) | |
tree | d9012073fa76528fd205eed96cc016d566f7c89d /testsuites/samples | |
parent | db44590c1d4318eebc99f4ad56de59e5dd68fe1b (diff) |
Delete or rename MIN/MAX macros and defines
Include <sys/param.h> if necessary to get the MIN()/MAX() macros.
Diffstat (limited to 'testsuites/samples')
-rw-r--r-- | testsuites/samples/fileio/init.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/testsuites/samples/fileio/init.c b/testsuites/samples/fileio/init.c index 4dd00ed7a7..07ec2c66c3 100644 --- a/testsuites/samples/fileio/init.c +++ b/testsuites/samples/fileio/init.c @@ -13,6 +13,7 @@ #define CONFIGURE_INIT #include "system.h" +#include <sys/param.h> #include <crypt.h> #include <stdio.h> #include <string.h> @@ -214,10 +215,6 @@ fstab_t fs_table[] = { } }; -#ifndef MIN -#define MIN(a,b) (((a) > (b)) ? (b) : (a)) -#endif - #define USE_SHELL #ifdef USE_SHELL |