diff options
author | Alexandra Ellwood <lxs@mit.edu> | 2006-06-09 21:55:32 +0000 |
---|---|---|
committer | Alexandra Ellwood <lxs@mit.edu> | 2006-06-09 21:55:32 +0000 |
commit | 816c50541d4af289c6dc737ab0cb945457d8bcaa (patch) | |
tree | ed2bb283947661b9861419a99476429d70053757 | |
parent | 2ab8b381a83da20415f8b6f52b329154276c59c2 (diff) | |
download | krb5-816c50541d4af289c6dc737ab0cb945457d8bcaa.zip krb5-816c50541d4af289c6dc737ab0cb945457d8bcaa.tar.gz krb5-816c50541d4af289c6dc737ab0cb945457d8bcaa.tar.bz2 |
moved enum cc_list_type to generic_lists.h to avoid "incomplete enum"
warnings when compiling generic_lists.c
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/ccapi@18096 dc483132-0cff-0310-8789-dd5450dbe970
-rw-r--r-- | src/lib/ccapi/common/generic_lists.c | 5 | ||||
-rw-r--r-- | src/lib/ccapi/include/datastore.h | 7 | ||||
-rw-r--r-- | src/lib/ccapi/include/generic_lists.h | 7 |
3 files changed, 7 insertions, 12 deletions
diff --git a/src/lib/ccapi/common/generic_lists.c b/src/lib/ccapi/common/generic_lists.c index a48c528..2c73983 100644 --- a/src/lib/ccapi/common/generic_lists.c +++ b/src/lib/ccapi/common/generic_lists.c @@ -54,11 +54,6 @@ #include "CredentialsCache.h"
#include "generic_lists.h"
-/* this is an incomplete enumeration just including the generic type */
-enum cc_list_type {
- generic = 0
-};
-
/**
* cci_generic_iterate_has_next()
*
diff --git a/src/lib/ccapi/include/datastore.h b/src/lib/ccapi/include/datastore.h index 4f119f9..7bb8b09 100644 --- a/src/lib/ccapi/include/datastore.h +++ b/src/lib/ccapi/include/datastore.h @@ -53,13 +53,6 @@ #include "rpc_auth.h" #include "generic_lists.h" -enum cc_list_type { - generic = 0, - context, - cache, - credentials -}; - struct cc_context_iterate_t { cc_context_list_node_t* next; }; diff --git a/src/lib/ccapi/include/generic_lists.h b/src/lib/ccapi/include/generic_lists.h index 4d49e27..14b7ae2 100644 --- a/src/lib/ccapi/include/generic_lists.h +++ b/src/lib/ccapi/include/generic_lists.h @@ -49,6 +49,13 @@ #ifndef __CC_GENERIC_LISTS_H_
#define __CC_GENERIC_LISTS_H_
+enum cc_list_type {
+ generic = 0,
+ context,
+ cache,
+ credentials
+};
+
struct cc_generic_list_node_t {
cc_uint8* data;
cc_uint32 len;
|