From 872eaff76357ea74a55aa682d8c359235f9d769b Mon Sep 17 00:00:00 2001 From: Michal Bloch Date: Wed, 11 Mar 2020 11:58:15 +0100 Subject: [PATCH] Fix a compilation failure Change-Id: Idc3c8a892a748a7c0f2ded99501c96397a90f603 Signed-off-by: Michal Bloch --- src/proc-stat/include/proc-main.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/proc-stat/include/proc-main.h b/src/proc-stat/include/proc-main.h index aafcc5c..a839e6c 100644 --- a/src/proc-stat/include/proc-main.h +++ b/src/proc-stat/include/proc-main.h @@ -85,6 +85,14 @@ int proc_get_state(int type, pid_t pid, char *buf, int len); #ifdef _UNIT_TEST void proc_app_info_add_child_pid(struct proc_app_info *pai, pid_t pid); +struct proc_app_info *proc_create_app_info( + const char *appid, + const char *pkgid, + pid_t pid, + int flags, + int categories, + enum application_type type, + enum proc_state state); void proc_remove_app_info(struct proc_app_info *pai); void proc_app_info_remove_child_pid(struct proc_app_info *pai, pid_t pid); void proc_remove_program_info(struct proc_program_info *ppi, struct proc_app_info *pai); -- 2.7.4