]> git.ipfire.org Git - thirdparty/libsolv.git/commitdiff
repo_add_keydir: put flags last (as with the other repo_add calls)
authorMichael Schroeder <mls@suse.de>
Tue, 29 Oct 2013 14:18:22 +0000 (15:18 +0100)
committerMichael Schroeder <mls@suse.de>
Tue, 29 Oct 2013 14:18:22 +0000 (15:18 +0100)
ext/repo_pubkey.c
ext/repo_pubkey.h

index 611708d215a062bb71f4f0595cf99917c57fc38f..5891e4e750558a9e49572a9b217c3d7b920fabb2 100644 (file)
@@ -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;
index f21b1ca2bc7b702cd08f50ac7d2a6c27172041f8..da9c93724efced3a0dce60d09debf42a7e44a462 100644 (file)
@@ -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 {