file_list: Add function to add an entry to the list
Add file_list_add_entry() to add a single entry to a file_list. Then
use it in file_list_parse_one() instead of open coding adding a new
entry.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 87f3efc commit 9f36f6d615ab6eca2e37823213c0f6f3ead25921
@Sascha Hauer Sascha Hauer authored on 27 Sep 2017
Showing 2 changed files
View
common/file-list.c
View
include/file-list.h