From 6d39a4291786e8b79c2d2bae39dc0b2c84cfb67f Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Mon, 9 Feb 2009 16:35:01 +0000 Subject: More C++ compatibility: Don't use "typedef struct tag *tag"; rename the tag and keep the same typedefname. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@21918 dc483132-0cff-0310-8789-dd5450dbe970 --- src/include/k5-int.h | 4 ++-- src/include/k5-ipc_stream.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/include') diff --git a/src/include/k5-int.h b/src/include/k5-int.h index 11d19e469..1cc3c8061 100644 --- a/src/include/k5-int.h +++ b/src/include/k5-int.h @@ -2123,11 +2123,11 @@ struct _krb5_ccache { /* * Per-type ccache cursor. */ -struct krb5_cc_ptcursor { +struct krb5_cc_ptcursor_s { const struct _krb5_cc_ops *ops; krb5_pointer data; }; -typedef struct krb5_cc_ptcursor *krb5_cc_ptcursor; +typedef struct krb5_cc_ptcursor_s *krb5_cc_ptcursor; struct _krb5_cc_ops { krb5_magic magic; diff --git a/src/include/k5-ipc_stream.h b/src/include/k5-ipc_stream.h index edbf5a4ad..71bbaa1e7 100644 --- a/src/include/k5-ipc_stream.h +++ b/src/include/k5-ipc_stream.h @@ -29,8 +29,8 @@ #include "k5-platform.h" -struct k5_ipc_stream; -typedef struct k5_ipc_stream *k5_ipc_stream; +struct k5_ipc_stream_s; +typedef struct k5_ipc_stream_s *k5_ipc_stream; int32_t k5_ipc_stream_new (k5_ipc_stream *out_stream); -- cgit