diff --git a/bin/xbps-repo/main.c b/bin/xbps-repo/main.c index 62fb1ab06b7..766d4bf0c7b 100644 --- a/bin/xbps-repo/main.c +++ b/bin/xbps-repo/main.c @@ -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)) { diff --git a/bin/xbps-repo/util.c b/bin/xbps-repo/util.c index 55cba9a4645..7384d30bc0a 100644 --- a/bin/xbps-repo/util.c +++ b/bin/xbps-repo/util.c @@ -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) diff --git a/bin/xbps-repo/util.h b/bin/xbps-repo/util.h index cac86095c5b..a4d4ce61533 100644 --- a/bin/xbps-repo/util.h +++ b/bin/xbps-repo/util.h @@ -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_ */