summaryrefslogtreecommitdiff
path: root/accel-pppd/ctrl/pptp/pptp_prot.h
diff options
context:
space:
mode:
authorDenys Fedoryshchenko <denys.f@collabora.com>2026-08-30 02:46:44 +0300
committerDenys Fedoryshchenko <denys.f@collabora.com>2026-09-09 18:42:09 +0300
commit78d75b1dcf0d42e6ad5ce8b7203a19e17b9c87dc (patch)
treebd824f8f5b15e0a084f6cdbce39b69a40ab34978 /accel-pppd/ctrl/pptp/pptp_prot.h
parentc414f0a725a16cbd4c7063ff221dabb420b96df5 (diff)
downloadaccel-ppp-78d75b1dcf0d42e6ad5ce8b7203a19e17b9c87dc.tar.gz
accel-ppp-78d75b1dcf0d42e6ad5ce8b7203a19e17b9c87dc.zip
utils: centralize max macro
Closes #354
Diffstat (limited to 'accel-pppd/ctrl/pptp/pptp_prot.h')
-rw-r--r--accel-pppd/ctrl/pptp/pptp_prot.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/accel-pppd/ctrl/pptp/pptp_prot.h b/accel-pppd/ctrl/pptp/pptp_prot.h
index ee8cb341..3726334a 100644
--- a/accel-pppd/ctrl/pptp/pptp_prot.h
+++ b/accel-pppd/ctrl/pptp/pptp_prot.h
@@ -281,7 +281,6 @@ struct pptp_set_link_info /* for control message type 15 */
(type==PPTP_WAN_ERR_NTFY )?sizeof(struct pptp_wan_err_ntfy): \
(type==PPTP_SET_LINK_INFO )?sizeof(struct pptp_set_link_info): \
0)
-#define max(a,b) (((a)>(b))?(a):(b))
#define PPTP_CTRL_SIZE_MAX ( \
max(sizeof(struct pptp_start_ctrl_conn), \
max(sizeof(struct pptp_echo_rqst), \