From: Michael Schroeder Date: Wed, 28 Nov 2007 13:48:06 +0000 (+0000) Subject: - fix false friend X-Git-Tag: BASE-SuSE-Code-12_1-Branch~1091 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8dec17493f11fd42ba2a73416bbe3b6482c56712;p=platform%2Fupstream%2Flibsolv.git - fix false friend - fix enum --- diff --git a/src/poolid.c b/src/poolid.c index ef76a4a..7165b8a 100644 --- a/src/poolid.c +++ b/src/poolid.c @@ -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; diff --git a/src/solver.h b/src/solver.h index ddf1480..a55e423 100644 --- a/src/solver.h +++ b/src/solver.h @@ -110,7 +110,7 @@ typedef struct solver { * queue commands */ -enum solvcmds { +typedef enum { SOLVCMD_NULL=0, SOLVER_INSTALL_SOLVABLE, SOLVER_ERASE_SOLVABLE,