- fix false friend
authorMichael Schroeder <mls@suse.de>
Wed, 28 Nov 2007 13:48:06 +0000 (13:48 +0000)
committerMichael Schroeder <mls@suse.de>
Wed, 28 Nov 2007 13:48:06 +0000 (13:48 +0000)
- fix enum

src/poolid.c
src/solver.h

index ef76a4a..7165b8a 100644 (file)
@@ -30,7 +30,7 @@ str2id(Pool *pool, const char *str, int create)
   int old_nstrings = pool->ss.nstrings;
   Id id = stringpool_str2id (&pool->ss, str, create);
   /* If we changed the ID->string relations we need to get rid of an
-     eventually existing provides lookup cache.  */
+     existing provides lookup cache.  */
   if (old_nstrings != pool->ss.nstrings)
     pool_freewhatprovides(pool);
   return id;
index ddf1480..a55e423 100644 (file)
@@ -110,7 +110,7 @@ typedef struct solver {
  * queue commands
  */
 
-enum solvcmds {
+typedef enum {
   SOLVCMD_NULL=0,
   SOLVER_INSTALL_SOLVABLE,
   SOLVER_ERASE_SOLVABLE,