diff options
author | Alexandra Ellwood <lxs@mit.edu> | 2006-11-07 20:15:40 +0000 |
---|---|---|
committer | Alexandra Ellwood <lxs@mit.edu> | 2006-11-07 20:15:40 +0000 |
commit | 5a5745682a98943618fdb8f3b5b76861e7663b4e (patch) | |
tree | 1176fede2ce534f3d7d50b74184fc266f7b96bfc /src/include | |
parent | d73e09e9a7e2804fe43dcd7ae82f4ce30088809b (diff) | |
download | krb5-5a5745682a98943618fdb8f3b5b76861e7663b4e.tar.gz krb5-5a5745682a98943618fdb8f3b5b76861e7663b4e.tar.xz krb5-5a5745682a98943618fdb8f3b5b76861e7663b4e.zip |
krb5.h not C++-safe due to "struct krb5_cccol_cursor"
Fixed definition of "struct krb5_cccol_cursor" in krb5.h to be C++ safe.
In C++ the struct name is also a type so there can't be a typedef of the same
name, in this case "typedef struct krb5_cccol_cursor *krb5_cccol_cursor;".
ticket: new
status: open
target_version: 1.6
tags: pullup
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18765 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/krb5/krb5.hin | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/krb5/krb5.hin b/src/include/krb5/krb5.hin index 2ad6be9c8e..081a43ffc2 100644 --- a/src/include/krb5/krb5.hin +++ b/src/include/krb5/krb5.hin @@ -1215,8 +1215,8 @@ typedef struct _krb5_cc_ops krb5_cc_ops; /* * Cursor for iterating over all ccaches */ -struct krb5_cccol_cursor; -typedef struct krb5_cccol_cursor *krb5_cccol_cursor; +struct _krb5_cccol_cursor; +typedef struct _krb5_cccol_cursor *krb5_cccol_cursor; /* for retrieve_cred */ #define KRB5_TC_MATCH_TIMES 0x00000001 |