aboutsummaryrefslogtreecommitdiff
path: root/src/unalf.h
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2025-11-21 05:20:35 -0500
committerB. Watson <urchlay@slackware.uk>2025-11-21 05:20:35 -0500
commit44541066424e2ff1490f25a2b512a1a609506243 (patch)
tree1cff011cf6b64522d80bfb50dfcffeb44268410a /src/unalf.h
parent24dd2ee784574cf3b21d19421015ac67034a22d0 (diff)
downloadunalf-44541066424e2ff1490f25a2b512a1a609506243.tar.gz
Complain if extracted file size doesn't match orig size in ALF header.
Diffstat (limited to 'src/unalf.h')
-rw-r--r--src/unalf.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/unalf.h b/src/unalf.h
index 3c461ef..6096101 100644
--- a/src/unalf.h
+++ b/src/unalf.h
@@ -55,6 +55,7 @@ unsigned int getquad(int offs);
/* extract.c */
extern int bad_checksum_count;
extern int new_file;
+extern unsigned int bytes_written;
void extract_alf(void);
void dpoke(int addr, u16 value);
u16 dpeek(int addr);