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 611708d..5891e4e 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 f21b1ca..da9c937 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 {