diff options
author | koekeishiya <aasvi93@hotmail.com> | 2017-09-12 14:49:54 +0200 |
---|---|---|
committer | koekeishiya <aasvi93@hotmail.com> | 2017-09-12 14:49:54 +0200 |
commit | 016e77f0cf88d600b45e545115c53a2de9d2515b (patch) | |
tree | 8759d19eca491b526f8f7c96e6bc8f67c075b527 /src/hotload.c | |
parent | 4e45bdc20c859dcf8994037db2461d90dee7004a (diff) | |
download | skhd-016e77f0cf88d600b45e545115c53a2de9d2515b.tar.gz skhd-016e77f0cf88d600b45e545115c53a2de9d2515b.zip |
finalize hotloader api; self-contained
Diffstat (limited to 'src/hotload.c')
-rw-r--r-- | src/hotload.c | 4 |
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; |