Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Remove dead function declaration
Baptiste Daroussin committed 11 years ago
commit 66df3bb59e31adabbad8ffbaa77ebda38b713b80
parent 92218e6
2 files changed +0 -6
modified libpkg/pkg_add.c
@@ -427,7 +427,6 @@ pkg_add_common(struct pkgdb *db, const char *path, unsigned flags,
		pkg_script_run(pkg, PKG_SCRIPT_PRE_INSTALL);

	/* add the user and group if necessary */
-
	/* pkg_add_user_group(pkg); */

	nfiles = HASH_COUNT(pkg->files);
	/*
modified libpkg/private/pkg.h
@@ -468,9 +468,6 @@ int pkg_start_stop_rc_scripts(struct pkg *, pkg_rc_attr attr);

int pkg_script_run(struct pkg *, pkg_script type);

-
int pkg_add_user_group(struct pkg *pkg);
-
int pkg_delete_user_group(struct pkgdb *db, struct pkg *pkg);
-

int pkg_open2(struct pkg **p, struct archive **a, struct archive_entry **ae,
	      const char *path, struct pkg_manifest_key *keys, int flags, int fd);

@@ -544,8 +541,6 @@ int pkgdb_file_set_cksum(struct pkgdb *db, struct pkg_file *file, const char *sh
int pkg_emit_manifest_sbuf(struct pkg*, struct sbuf *, short, char **);
int pkg_emit_filelist(struct pkg *, FILE *);

-
int pkg_repo_binary_update(struct pkg_repo *repo, bool force);
-

bool ucl_object_emit_sbuf(const ucl_object_t *obj, enum ucl_emitter emit_type,
    struct sbuf **buf);
bool ucl_object_emit_file(const ucl_object_t *obj, enum ucl_emitter emit_type,