From: Klaus Kaempf Date: Tue, 8 Apr 2008 11:58:57 +0000 (+0000) Subject: make the difference between repodata_set_constant() (numeric constant) and X-Git-Tag: BASE-SuSE-Code-12_1-Branch~743 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3d6bafd5aafe39b695f1477e3aa67a229e2d059d;p=platform%2Fupstream%2Flibsolv.git make the difference between repodata_set_constant() (numeric constant) and repodata_set_constantid() (Id constant) obvious in the prototype. --- diff --git a/src/repodata.c b/src/repodata.c index 7458528..60fdee5 100644 --- a/src/repodata.c +++ b/src/repodata.c @@ -1190,7 +1190,7 @@ repodata_set_poolstr(Repodata *data, Id entry, Id keyname, const char *str) } void -repodata_set_constant(Repodata *data, Id entry, Id keyname, Id constant) +repodata_set_constant(Repodata *data, Id entry, Id keyname, unsigned int constant) { Repokey key; key.name = keyname; diff --git a/src/repodata.h b/src/repodata.h index d86ff93..943cf80 100644 --- a/src/repodata.h +++ b/src/repodata.h @@ -158,7 +158,7 @@ void repodata_set_id(Repodata *data, Id entry, Id keyname, Id id); /* */ void repodata_set_poolstr(Repodata *data, Id entry, Id keyname, const char *str); -void repodata_set_constant(Repodata *data, Id entry, Id keyname, Id constant); +void repodata_set_constant(Repodata *data, Id entry, Id keyname, unsigned int constant); void repodata_set_constantid(Repodata *data, Id entry, Id keyname, Id id); /* checksum */