summaryrefslogtreecommitdiff
path: root/load.c
diff options
context:
space:
mode:
Diffstat (limited to 'load.c')
-rw-r--r--load.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/load.c b/load.c
index e93822e..165153a 100644
--- a/load.c
+++ b/load.c
@@ -231,11 +231,10 @@ load_file (const gmk_floc *flocp, const char **ldname, int noerror)
return 0;
}
-int
-unload_file (struct file *file)
+void
+unload_file (const char *name)
{
- fatal (flocp, "INTERNAL: Cannot unload when load is not supported!");
- return 0;
+ fatal (NILF, "INTERNAL: Cannot unload when load is not supported!");
}
#endif /* MAKE_LOAD */