[Asterisk-code-review] lock: Replace ast mutex logger with ast mutex logger. (asterisk[13])

Corey Farrell asteriskteam at digium.com
Fri Oct 19 08:30:27 CDT 2018


Corey Farrell has posted comments on this change. ( https://gerrit.asterisk.org/10521 )

Change subject: lock: Replace __ast_mutex_logger with ast_mutex_logger.
......................................................................


Patch Set 1:

(1 comment)

https://gerrit.asterisk.org/#/c/10521/1/include/asterisk/lock.h
File include/asterisk/lock.h:

https://gerrit.asterisk.org/#/c/10521/1/include/asterisk/lock.h@244
PS1, Line 244: #define ast_mutex_logger(canlog, ...)  do { if (canlog) ast_log(LOG_ERROR, __VA_ARGS__); else fprintf(stderr, __VA_ARGS__); } while (0)
             : #define __ast_mutex_logger(...) ast_mutex_logger(canlog, __VA_ARGS__)
> There is no real threat of API compatibility issues here. […]
My patch already drops the __ from the macro and all calls.. are asking me to not do that?  I've updated the review for 'master' to put the define in main/lock.c, please let me know if that's OK.



-- 
To view, visit https://gerrit.asterisk.org/10521
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-MessageType: comment
Gerrit-Change-Id: I83b372cb0654c5c18eadc512f65a57fa6c2e9853
Gerrit-Change-Number: 10521
Gerrit-PatchSet: 1
Gerrit-Owner: Corey Farrell <git at cfware.com>
Gerrit-Reviewer: Corey Farrell <git at cfware.com>
Gerrit-Reviewer: Jenkins2 (1000185)
Gerrit-Reviewer: Richard Mudgett <rmudgett at digium.com>
Gerrit-Comment-Date: Fri, 19 Oct 2018 13:30:27 +0000
Gerrit-HasComments: Yes
Gerrit-HasLabels: No
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20181019/bec2c11f/attachment.html>


More information about the asterisk-code-review mailing list