Radish alpha
H
HardenedBSD Package Manager
Radicle
Git (anonymous pull)
Log in to clone via SSH
Removed pkg_manifest_cmp().
jlaffaye committed 15 years ago
commit 2220806f24f2d51cc18cc00b754a54a3882f2437
parent bf90583c4fd8292c6d1a4de59ba4ccc48d610142
2 files changed +0 -11
modified libpkg/pkg_manifest.c
@@ -4,7 +4,6 @@
#include <stdlib.h>

#include <jansson.h>
-
#include <string.h>

#include "pkg.h"
#include "pkg_manifest.h"
@@ -408,11 +407,3 @@ pkg_manifest_free(struct pkg_manifest *m)
	free(m);
}

-
int
-
pkg_manifest_cmp(void const *a, void const *b)
-
{
-
	struct pkg_manifest * const *pa = a;
-
	struct pkg_manifest * const *pb = b;
-
	return (strcmp(pkg_manifest_value(*pa, "name"),
-
				pkg_manifest_value(*pb, "name")));
-
}
modified libpkg/pkg_manifest.h
@@ -46,6 +46,4 @@ void pkg_manifest_add_conflict(struct pkg_manifest *, const char *);
void pkg_manifest_add_exec(struct pkg_manifest *, const char *);
void pkg_manifest_add_unexec(struct pkg_manifest *, const char *);

-
int pkg_manifest_cmp(void const *, void const *);
-

#endif