diff options
author | Michael Schroeder <mls@suse.de> | 2012-03-19 17:29:28 +0100 |
---|---|---|
committer | Michael Schroeder <mls@suse.de> | 2012-03-19 17:29:28 +0100 |
commit | 68cec0afef242fb0e970bdf2db0b3e31b572abd6 (patch) | |
tree | f2f105c3db708149801bcea39f780c1c3f186f30 /ext/repo_repomdxml.c | |
parent | e85699af4a2b625574bb0dbb9923f8267cbe60c2 (diff) | |
download | libsolv-68cec0afef242fb0e970bdf2db0b3e31b572abd6.tar.gz libsolv-68cec0afef242fb0e970bdf2db0b3e31b572abd6.tar.bz2 libsolv-68cec0afef242fb0e970bdf2db0b3e31b572abd6.zip |
- more cleanup and return type fixes
Diffstat (limited to 'ext/repo_repomdxml.c')
-rw-r--r-- | ext/repo_repomdxml.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/ext/repo_repomdxml.c b/ext/repo_repomdxml.c index 9f466dd..faa8456 100644 --- a/ext/repo_repomdxml.c +++ b/ext/repo_repomdxml.c @@ -19,9 +19,7 @@ #include "pool.h" #include "repo.h" #include "chksum.h" -#include "repo_updateinfoxml.h" - -//#define DUMPOUT 0 +#include "repo_repomdxml.h" /* <repomd> @@ -450,7 +448,7 @@ characterData(void *userData, const XML_Char *s, int len) #define BUFF_SIZE 8192 -void +int repo_add_repomdxml(Repo *repo, FILE *fp, int flags) { Pool *pool = repo->pool; @@ -500,6 +498,7 @@ repo_add_repomdxml(Repo *repo, FILE *fp, int flags) repodata_internalize(data); free(pd.content); + return 0; } /* EOF */ |