From 68cec0afef242fb0e970bdf2db0b3e31b572abd6 Mon Sep 17 00:00:00 2001 From: Michael Schroeder Date: Mon, 19 Mar 2012 17:29:28 +0100 Subject: - more cleanup and return type fixes --- ext/repo_repomdxml.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'ext/repo_repomdxml.c') 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" /* @@ -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 */ -- cgit v1.2.3