summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@mit.edu>2009-02-09 16:35:01 +0000
committerKen Raeburn <raeburn@mit.edu>2009-02-09 16:35:01 +0000
commit6d39a4291786e8b79c2d2bae39dc0b2c84cfb67f (patch)
tree0afb9b5664e18e471d24e02b19f2c6671bfce21f /src/include
parent9a264326001468b4429baeda7ffdc8e3e7bd560d (diff)
downloadkrb5-6d39a4291786e8b79c2d2bae39dc0b2c84cfb67f.tar.gz
krb5-6d39a4291786e8b79c2d2bae39dc0b2c84cfb67f.tar.xz
krb5-6d39a4291786e8b79c2d2bae39dc0b2c84cfb67f.zip
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
Diffstat (limited to 'src/include')
-rw-r--r--src/include/k5-int.h4
-rw-r--r--src/include/k5-ipc_stream.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/include/k5-int.h b/src/include/k5-int.h
index 11d19e4693..1cc3c80617 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 edbf5a4ad2..71bbaa1e77 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);