moved enum cc_list_type to generic_lists.h to avoid "incomplete enum"
authorAlexandra Ellwood <lxs@mit.edu>
Fri, 9 Jun 2006 21:55:32 +0000 (21:55 +0000)
committerAlexandra Ellwood <lxs@mit.edu>
Fri, 9 Jun 2006 21:55:32 +0000 (21:55 +0000)
warnings when compiling generic_lists.c

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/ccapi@18096 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/ccapi/common/generic_lists.c
src/lib/ccapi/include/datastore.h
src/lib/ccapi/include/generic_lists.h

index a48c528f93dcd7090454ac4387b2f71d90ef89bd..2c7398313d29262efda25a3117ab1e2350be92f2 100644 (file)
 #include "CredentialsCache.h"\r
 #include "generic_lists.h"\r
 \r
-/* this is an incomplete enumeration just including the generic type */\r
-enum cc_list_type {\r
-    generic = 0\r
-};\r
-\r
 /**\r
  * cci_generic_iterate_has_next()\r
  *\r
index 4f119f969ff4446b6df05fe76a32476b8a12952a..7bb8b093d8acc453f63120276415efe659a2bc23 100644 (file)
 #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;
 };
index 4d49e276bd3e661a8e323a2a08971737b47fd0fd..14b7ae28c34eb48db9f50e59bb5fc2538a7a8312 100644 (file)
 #ifndef __CC_GENERIC_LISTS_H_\r
 #define __CC_GENERIC_LISTS_H_\r
 \r
+enum cc_list_type {\r
+    generic = 0,\r
+    context,\r
+    cache,\r
+    credentials\r
+};\r
+\r
 struct cc_generic_list_node_t {\r
     cc_uint8*                          data;\r
     cc_uint32                          len;\r