Delete or rename MIN/MAX macros and defines

Include <sys/param.h> if necessary to get the MIN()/MAX() macros.
This commit is contained in:
Sebastian Huber
2014-11-21 08:49:57 +01:00
parent db44590c1d
commit 11925eef78
14 changed files with 24 additions and 47 deletions

View File

@@ -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