Skip to content

Commit

Permalink
refactor version checks
Browse files Browse the repository at this point in the history
  • Loading branch information
laffer1 committed Oct 17, 2021
1 parent fa38b07 commit 0ecf4bd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions libmport/merge_primative.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ struct table_entry {

#define TABLE_SIZE 128

static int build_stub_db(sqlite3 **, const char *, const char *, const char **, struct table_entry **);
static int build_stub_db(mportInstance *, sqlite3 **, const char *, const char *, const char **, struct table_entry **);
static int archive_metafiles(mportBundleWrite *, sqlite3 *, struct table_entry **);
static int archive_package_files(mportBundleWrite *, sqlite3 *, struct table_entry **);
static int extract_stub_db(const char *, const char *);
Expand All @@ -55,7 +55,6 @@ static struct table_entry * find_in_table(struct table_entry **, const char *);
static int insert_into_table(struct table_entry **, const char *, const char *);
static uint32_t SuperFastHash(const char *);


#include <err.h>

/*
Expand All @@ -66,7 +65,8 @@ static uint32_t SuperFastHash(const char *);
* named `outfile`. Care is taken to not have duplicates, to ensure that the exterior
* dependencies are correct, and that the packages are in an optimal order for installation.
*/
MPORT_PUBLIC_API int mport_merge_primative(const char **filenames, const char *outfile)
MPORT_PUBLIC_API int
mport_merge_primative(const char **filenames, const char *outfile)
{
sqlite3 *db;
mportBundleWrite *bundle;
Expand Down

0 comments on commit 0ecf4bd

Please sign in to comment.