netstar pushed a commit to branch master. http://git.enlightenment.org/apps/evisum.git/commit/?id=de06a87b4d3c0f3a150d7c4745ec01a6cf69cd87
commit de06a87b4d3c0f3a150d7c4745ec01a6cf69cd87 Author: Alastair Poole <nets...@gmail.com> Date: Mon May 17 16:02:03 2021 +0100 watcher: TDD :/ --- src/bin/evisum_watcher.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/bin/evisum_watcher.c b/src/bin/evisum_watcher.c index 621f3ce..e4c2237 100644 --- a/src/bin/evisum_watcher.c +++ b/src/bin/evisum_watcher.c @@ -8,8 +8,8 @@ static Eina_List *sensors = NULL; static Eina_List *network_interfaces = NULL; static Eina_List *cores = NULL; -int -main(int argc, char **argv) +static int +test(void) { Eina_List *l; Cpu_Core *core; @@ -82,3 +82,8 @@ main(int argc, char **argv) return 0; } + +int main(int argc, char **argv) +{ + return test(); +} --