lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [bug #55199] ppp: inefficient debug disable


From: Simon Goldschmidt
Subject: [lwip-devel] [bug #55199] ppp: inefficient debug disable
Date: Fri, 10 Jan 2020 15:46:18 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.88 Safari/537.36

Follow-up Comment #1, bug #55199 (project lwip):

Sylvain, would you be ok with changing the ppp_*() functions to ppp_*(())
macros? That way, the macros would ensure debug code is not linked when
disabled.

The change in ppp_impl.h and utils.c is minimal, however, all occurrences of
those calls are changed from () to (()). See attached patch.

(file #48199)
    _______________________________________________________

Additional Item Attachment:

File name: 0001-ppp-don-t-link-debug-functions-if-disabled.patch Size:66 KB
   
<https://savannah.nongnu.org/file/0001-ppp-don-t-link-debug-functions-if-disabled.patch?file_id=48199>



    _______________________________________________________

Reply to this item at:

  <https://savannah.nongnu.org/bugs/?55199>

_______________________________________________
  Message sent via Savannah
  https://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]