]> git.ipfire.org Git - thirdparty/krb5.git/commit
Rename k5-queue.h macros 497/head
authorTom Yu <tlyu@mit.edu>
Wed, 27 Jul 2016 17:19:51 +0000 (13:19 -0400)
committerTom Yu <tlyu@mit.edu>
Wed, 27 Jul 2016 19:06:00 +0000 (15:06 -0400)
commitcab7f315ef45875910adea5da554a994cab2aafe
tree7c3dffabd4e1931437064ecf93be4888ccc14a5d
parent1a83ffad4d8e405ce696536c06d9bce1f8100595
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.

ticket: 8466 (new)
src/include/k5-queue.h
src/kdc/replay.c
src/lib/krad/attrset.c
src/lib/krad/client.c
src/lib/krad/remote.c