Remove the definition of MIN/MAX

use the macro in sys/params.h

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2023-08-16 01:18:05 +08:00 committed by Petro Karashchenko
parent 054cf3b1cb
commit 856416540c
2 changed files with 3 additions and 8 deletions

View file

@ -25,16 +25,14 @@
* Included Files
****************************************************************************/
#include <sys/params.h>
#include "alt1250_daemon.h"
/****************************************************************************
* Pre-processor Definitions
****************************************************************************/
#ifndef MIN
# define MIN(a,b) (((a) < (b)) ? (a) : (b))
#endif
/****************************************************************************
* Public Function Prototypes
****************************************************************************/