diff options
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 5836aa9..1073bfe 100644 --- a/src/hotload.c +++ b/src/hotload.c @@ -31,7 +31,7 @@ copy_string(const char *s) } internal char * -file_directory(const char *file) +file_directory(char *file) { char *last_slash = strrchr(file, '/'); *last_slash = '\0'; @@ -41,7 +41,7 @@ file_directory(const char *file) } internal char * -file_name(const char *file) +file_name(char *file) { char *last_slash = strrchr(file, '/'); char *name = copy_string(last_slash + 1); |