aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorkoekeishiya <aasvi93@hotmail.com>2017-09-12 14:49:54 +0200
committerkoekeishiya <aasvi93@hotmail.com>2017-09-12 14:49:54 +0200
commit016e77f0cf88d600b45e545115c53a2de9d2515b (patch)
tree8759d19eca491b526f8f7c96e6bc8f67c075b527 /src
parent4e45bdc20c859dcf8994037db2461d90dee7004a (diff)
downloadskhd-016e77f0cf88d600b45e545115c53a2de9d2515b.tar.gz
skhd-016e77f0cf88d600b45e545115c53a2de9d2515b.zip
finalize hotloader api; self-contained
Diffstat (limited to 'src')
-rw-r--r--src/hotload.c4
1 files changed, 2 insertions, 2 deletions
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;