From 78d75b1dcf0d42e6ad5ce8b7203a19e17b9c87dc Mon Sep 17 00:00:00 2001 From: Denys Fedoryshchenko Date: Sun, 30 Aug 2026 02:46:44 +0300 Subject: utils: centralize max macro Closes #354 --- accel-pppd/radius/acct.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'accel-pppd/radius') diff --git a/accel-pppd/radius/acct.c b/accel-pppd/radius/acct.c index d30aae7a..0448fc95 100644 --- a/accel-pppd/radius/acct.c +++ b/accel-pppd/radius/acct.c @@ -14,15 +14,12 @@ #include "backup.h" #include "ap_session_backup.h" #include "iputils.h" +#include "utils.h" #include "radius_p.h" #include "memdebug.h" -#ifndef max -#define max(x,y) ((x) > (y) ? (x) : (y)) -#endif - #define INTERIM_SAFE_TIME 10 static int req_set_RA(struct rad_req_t *req) -- cgit v1.2.3