[krbdev.mit.edu #8466] git commit

Tom Yu via RT rt-comment at krbdev.mit.edu
Wed Jul 27 15:43:34 EDT 2016


Rename k5-queue.h macros

Some BSD-derived systems (e.g., FreeBSD and Mac OS X) inappropriately
include sys/queue.h from some non-kernel network-related headers that
we include (net/if.h is one example).  Because our k5-queue.h is a
copy from a BSD sys/queue.h, many compilers will warn about macro
redefinitions on those systems.  Rename the queue macros to have a K5_
prefix.

Also delete the QUEUEDEBUG macros because they are only useful for
kernel use on the BSD systems where this header originated.

https://github.com/krb5/krb5/commit/cab7f315ef45875910adea5da554a994cab2aafe
Author: Tom Yu <tlyu at mit.edu>
Commit: cab7f315ef45875910adea5da554a994cab2aafe
Branch: master
 src/include/k5-queue.h |  351 ++++++++++++++++-------------------------------
 src/kdc/replay.c       |   26 ++--
 src/lib/krad/attrset.c |   24 ++--
 src/lib/krad/client.c  |   12 +-
 src/lib/krad/remote.c  |   30 ++--
 5 files changed, 166 insertions(+), 277 deletions(-)



More information about the krb5-bugs mailing list