]> git.ipfire.org Git - thirdparty/krb5.git/commit
Replace macros with typedefs in gssrpc types.h 1240/head
authorTianjiao Yin <ytj000@gmail.com>
Mon, 7 Feb 2022 08:48:05 +0000 (00:48 -0800)
committerGreg Hudson <ghudson@mit.edu>
Wed, 2 Mar 2022 22:19:32 +0000 (17:19 -0500)
commit922592d3f57c831a2d539ff9b643953b56e6c515
treeddfe06dbbeb6c9b7152827098bcc7cfb15018ffa
parentf5581b25d0476ec02c87e89b1211e8fd7659a57a
Replace macros with typedefs in gssrpc types.h

Defining bool_t and enum_t with the preprocessor conflicts with
namespaced declarations in fbthrift's headers.  Use typedefs to avoid
this conflict and for consistency with other Sun RPC implementations.

[ghudson@mit.edu: clarified commit message]

ticket: 9054 (new)
src/include/gssrpc/types.hin