# HG changeset patch # User Mychaela Falconia # Date 1613543960 0 # Node ID bd19dc7591ec68c560294061d66d3d10af6d8e90 # Parent 51167ee0151bb0837ebdf0a0a84d06657bda0bdd simtool/restorebin.c: make write functions global diff -r 51167ee0151b -r bd19dc7591ec simtool/restorebin.c --- a/simtool/restorebin.c Wed Feb 17 06:35:55 2021 +0000 +++ b/simtool/restorebin.c Wed Feb 17 06:39:20 2021 +0000 @@ -13,8 +13,7 @@ #include #include "curfile.h" -static -restore_transparent(data) +restore_bin_transparent(data) u_char *data; { unsigned off, cc; @@ -31,8 +30,7 @@ return(0); } -static -restore_records(data) +restore_bin_records(data) u_char *data; { unsigned recno; @@ -49,8 +47,7 @@ return(0); } -static -restore_cyclic(data) +restore_bin_cyclic(data) u_char *data; { unsigned count; @@ -123,15 +120,15 @@ switch (curfile_structure) { case 0x00: /* transparent */ - rc = restore_transparent(databuf); + rc = restore_bin_transparent(databuf); break; case 0x01: /* record-based */ - rc = restore_records(databuf); + rc = restore_bin_records(databuf); break; case 0x03: /* cyclic */ - rc = restore_cyclic(databuf); + rc = restore_bin_cyclic(databuf); break; } free(databuf);