diff options
| author | Denys Fedoryshchenko <denys.f@collabora.com> | 2026-08-30 02:46:44 +0300 |
|---|---|---|
| committer | Denys Fedoryshchenko <denys.f@collabora.com> | 2026-09-09 18:42:09 +0300 |
| commit | 78d75b1dcf0d42e6ad5ce8b7203a19e17b9c87dc (patch) | |
| tree | bd824f8f5b15e0a084f6cdbce39b69a40ab34978 /accel-pppd/radius | |
| parent | c414f0a725a16cbd4c7063ff221dabb420b96df5 (diff) | |
| download | accel-ppp-78d75b1dcf0d42e6ad5ce8b7203a19e17b9c87dc.tar.gz accel-ppp-78d75b1dcf0d42e6ad5ce8b7203a19e17b9c87dc.zip | |
utils: centralize max macro
Closes #354
Diffstat (limited to 'accel-pppd/radius')
| -rw-r--r-- | accel-pppd/radius/acct.c | 5 |
1 files changed, 1 insertions, 4 deletions
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) |
