From dbd6366285b23483567f2c1dc814fc9f371c4c64 Mon Sep 17 00:00:00 2001 From: gramanas Date: Mon, 20 Dec 2021 22:52:48 +0200 Subject: merge steps --- src/types.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/types.h') diff --git a/src/types.h b/src/types.h index 0d870cf..2c58537 100644 --- a/src/types.h +++ b/src/types.h @@ -65,9 +65,8 @@ void copy_items(recipe * dst, recipe * src); void merge_items(recipe * dst, recipe * src); /** - * Sum all top level item qtys in `src` and add them to `dst` - * making sure each item name exists only once. + * Merge all steps from `src` and add them to `dst` */ -void distinct_sum_items(recipe * dst, recipe * src); +void merge_steps(recipe * dst, recipe * src); #endif /* __TYPES_H */ -- cgit v1.2.3