xbps-repo: use list_strings_sep_in_array() for 'list' target.

--HG--
extra : convert_revision : 0f06fdb6172b0ef8e55af44037166508c4c9996b
This commit is contained in:
Juan RP 2009-04-09 12:59:46 +02:00
parent 6ff28f6d79
commit 1a26816aa3
3 changed files with 3 additions and 3 deletions

View File

@ -229,7 +229,7 @@ main(int argc, char **argv)
usage();
(void)xbps_callback_array_iter_in_repolist(
list_strings_in_array, NULL);
list_strings_sep_in_array, NULL);
} else if ((strcasecmp(argv[0], "rm") == 0) ||
(strcasecmp(argv[0], "remove") == 0)) {

View File

@ -42,7 +42,6 @@ struct show_files_cb {
static void show_pkg_info(prop_dictionary_t);
static int show_pkg_files(prop_object_t, void *, bool *);
static int show_pkg_namedesc(prop_object_t, void *, bool *);
static int list_strings_sep_in_array(prop_object_t, void *, bool *);
static void
show_pkg_info(prop_dictionary_t dict)

View File

@ -1,5 +1,5 @@
/*-
* Copyright (c) 2008 Juan Romero Pardines.
* Copyright (c) 2008-2009 Juan Romero Pardines.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -31,5 +31,6 @@ int show_pkg_info_from_metadir(const char *);
int show_pkg_files_from_metadir(const char *, bool);
int show_pkg_info_from_repolist(prop_object_t, void *, bool *);
int list_strings_in_array(prop_object_t, void *, bool *);
int list_strings_sep_in_array(prop_object_t, void *, bool *);
#endif /* !_XBPS_REPO_UTIL_H_ */