aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/expand.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/expand.cpp')
-rw-r--r--src/expand.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/expand.cpp b/src/expand.cpp
index b69c79f8..5ea21a14 100644
--- a/src/expand.cpp
+++ b/src/expand.cpp
@@ -433,17 +433,6 @@ bool process_iterator_t::next_process(wcstring *out_str, pid_t *out_pid) {
#endif
-std::vector<wcstring> expand_get_all_process_names(void) {
- wcstring name;
- pid_t pid;
- process_iterator_t iterator;
- std::vector<wcstring> result;
- while (iterator.next_process(&name, &pid)) {
- result.push_back(name);
- }
- return result;
-}
-
// Helper function to do a job search.
struct find_job_data_t {
const wchar_t *proc; // the process to search for - possibly numeric, possibly a name