From 016e77f0cf88d600b45e545115c53a2de9d2515b Mon Sep 17 00:00:00 2001 From: koekeishiya Date: Tue, 12 Sep 2017 14:49:54 +0200 Subject: finalize hotloader api; self-contained --- src/hotload.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/hotload.c') diff --git a/src/hotload.c b/src/hotload.c index fc06a9b..d7a5ff2 100644 --- a/src/hotload.c +++ b/src/hotload.c @@ -41,10 +41,10 @@ file_name(const char *file) return name; } -internal struct watch_info * +internal struct watched_file * hotloader_watched_file(struct hotloader *hotloader, char *absolutepath) { - struct watch_info *result = NULL; + struct watched_file *result = NULL; for(unsigned index = 0; result == NULL && index < hotloader->watch_count; ++index) { struct watched_file *watch_info = hotloader->watch_list + index; -- cgit v1.2.3