diff options
| author | Denys Fedoryshchenko <denys.f@collabora.com> | 2026-09-09 20:01:33 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-09-09 20:01:33 +0300 |
| commit | a4f1102782889367d51c8b298269b232caac1db3 (patch) | |
| tree | bd824f8f5b15e0a084f6cdbce39b69a40ab34978 /accel-pppd/ctrl/pptp/pptp_prot.h | |
| parent | c414f0a725a16cbd4c7063ff221dabb420b96df5 (diff) | |
| parent | 78d75b1dcf0d42e6ad5ce8b7203a19e17b9c87dc (diff) | |
| download | accel-ppp-a4f1102782889367d51c8b298269b232caac1db3.tar.gz accel-ppp-a4f1102782889367d51c8b298269b232caac1db3.zip | |
Merge pull request #357 from nuclearcat/fix-centralize-max
utils: centralize max macro
Diffstat (limited to 'accel-pppd/ctrl/pptp/pptp_prot.h')
| -rw-r--r-- | accel-pppd/ctrl/pptp/pptp_prot.h | 1 |
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), \ |
