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

@@ -15,6 +15,7 @@
#ifndef __ATA_INTERNAL_H__
#define __ATA_INTERNAL_H__
#include <sys/param.h>
#include <rtems.h>
#include <sys/types.h>
#include <rtems/libio.h>
@@ -45,7 +46,6 @@ extern "C" {
# define CT_LE_L(v) (v)
#endif
#define MIN(a, b) (((a) < (b)) ? (a) : (b))
#define ATA_UNDEFINED_VALUE (-1)
/* Sector size for all ATA devices */