From: Michael Schroeder Date: Tue, 29 Oct 2013 14:18:22 +0000 (+0100) Subject: repo_add_keydir: put flags last (as with the other repo_add calls) X-Git-Tag: 0.6.4~163 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=981beb782c8a2dc52b476fe8013109efc7008493;p=thirdparty%2Flibsolv.git repo_add_keydir: put flags last (as with the other repo_add calls) --- diff --git a/ext/repo_pubkey.c b/ext/repo_pubkey.c index 611708d2..5891e4e7 100644 --- a/ext/repo_pubkey.c +++ b/ext/repo_pubkey.c @@ -1048,7 +1048,7 @@ repo_add_keyring(Repo *repo, FILE *fp, int flags) } int -repo_add_keydir(Repo *repo, const char *keydir, int flags, const char *suffix) +repo_add_keydir(Repo *repo, const char *keydir, const char *suffix, int flags) { Pool *pool = repo->pool; Repodata *data; diff --git a/ext/repo_pubkey.h b/ext/repo_pubkey.h index f21b1ca2..da9c9372 100644 --- a/ext/repo_pubkey.h +++ b/ext/repo_pubkey.h @@ -15,7 +15,7 @@ extern int repo_add_rpmdb_pubkeys(Repo *repo, int flags); extern Id repo_add_pubkey(Repo *repo, const char *keyfile, int flags); extern int repo_add_keyring(Repo *repo, FILE *fp, int flags); -extern int repo_add_keydir(Repo *repo, const char *keydir, int flags, const char *suffix); +extern int repo_add_keydir(Repo *repo, const char *keydir, const char *suffix, int flags); /* signature parsing */ typedef struct _solvsig {