From: Tomas Mlcoch Date: Wed, 11 Jan 2012 14:20:00 +0000 (+0100) Subject: Code cleanup X-Git-Tag: upstream/0.2.1~600 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7f828be55341f673283984fcdee7c502c3585ade;p=services%2Fcreaterepo_c.git Code cleanup --- diff --git a/parsehdr.c b/parsehdr.c index e4ca0ad..3fabe6a 100644 --- a/parsehdr.c +++ b/parsehdr.c @@ -5,9 +5,10 @@ #include "misc.h" -Package *parse_header(Header hdr, gint64 mtime, gint64 size, const char *checksum, const char *checksum_type, - const char *location_href, const char *location_base, int changelog_limit, - gint64 hdr_start, gint64 hdr_end) +Package *parse_header(Header hdr, gint64 mtime, gint64 size, const char *checksum, + const char *checksum_type, const char *location_href, + const char *location_base, int changelog_limit, + gint64 hdr_start, gint64 hdr_end) { Package *pkg = NULL; pkg = package_new(); @@ -297,9 +298,10 @@ Package *parse_header(Header hdr, gint64 mtime, gint64 size, const char *checksu -struct XmlStruct xml_from_header(Header hdr, gint64 mtime, gint64 size, const char *checksum, const char *checksum_type, - const char *location_href, const char *location_base, - int changelog_limit, gint64 hdr_start, gint64 hdr_end) +struct XmlStruct xml_from_header(Header hdr, gint64 mtime, gint64 size, + const char *checksum, const char *checksum_type, + const char *location_href, const char *location_base, + int changelog_limit, gint64 hdr_start, gint64 hdr_end) { Package *pkg = parse_header(hdr, mtime, size, checksum, checksum_type, location_href, location_base, changelog_limit, hdr_start, hdr_end); diff --git a/parsehdr.h b/parsehdr.h index f7940fc..f243dde 100644 --- a/parsehdr.h +++ b/parsehdr.h @@ -6,11 +6,13 @@ #include "package.h" #include "xml_dump.h" -Package *parse_header(Header hdr, gint64 mtime, gint64 size, const char *checksum, const char *checksum_type, - const char *location_href, const char *location_base, - int changelog_limit, gint64 hdr_start, gint64 hdr_end); -struct XmlStruct xml_from_header(Header hdr, gint64 mtime, gint64 size, const char *checksum, const char *checksum_type, - const char *location_href, const char *location_base, - int changelog_limit, gint64 hdr_start, gint64 hdr_end); +Package *parse_header(Header hdr, gint64 mtime, gint64 size, + const char *checksum, const char *checksum_type, + const char *location_href, const char *location_base, + int changelog_limit, gint64 hdr_start, gint64 hdr_end); +struct XmlStruct xml_from_header(Header hdr, gint64 mtime, gint64 size, + const char *checksum, const char *checksum_type, + const char *location_href, const char *location_base, + int changelog_limit, gint64 hdr_start, gint64 hdr_end); #endif /* __PARSEHDR__ */