Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
manifest cleanup.
jlaffaye committed 15 years ago
commit 078fe1a028655f8df809e34c63046ff5e151f735
parent 01a2fa3
3 files changed +1 -3
modified libpkg/pkg.h
@@ -3,7 +3,6 @@

struct pkg;
struct pkgdb;
-
struct pkg_manifest;

typedef enum _match_t {
	MATCH_ALL,
@@ -17,7 +16,6 @@ typedef enum _match_t {
int pkg_new(struct pkg **);
void pkg_reset(struct pkg *);
void pkg_free(struct pkg *);
-
void pkg_from_manifest(struct pkg*, struct pkg_manifest *);
const char *pkg_name(struct pkg *);
const char *pkg_version(struct pkg *);
const char *pkg_comment(struct pkg *);
modified libpkg/pkg_manifest.h
@@ -49,5 +49,6 @@ void pkg_manifest_add_exec(struct pkg_manifest *, const char *);
void pkg_manifest_add_unexec(struct pkg_manifest *, const char *);

int pkg_manifest_from_pkg(struct pkg *, struct pkg_manifest **);
+
void pkg_from_manifest(struct pkg*, struct pkg_manifest *);

#endif
modified pkg/which.c
@@ -1,7 +1,6 @@
#include <err.h>
#include <stdio.h>
#include <pkg.h>
-
#include <pkg_manifest.h>
#include <libgen.h>
#include <stdlib.h>
#include <string.h>