change function definitions

Buffers are no longer wired into any input or translation functions.
They are supplied as arguments through main.
This commit is contained in:
Eric 2025-05-26 12:23:54 +02:00
parent 9b1fe95a8e
commit 848c3749d2
5 changed files with 53 additions and 60 deletions

11
input.h
View file

@ -3,13 +3,10 @@
#include <stdio.h>
extern unsigned char o[];
extern unsigned char s[];
int
getocts(FILE *fp, unsigned char *o, int olen);
unsigned char *
getocts(FILE *fp, int *np);
unsigned char *
getsxts(FILE *fp, int *np);
int
getsxts(FILE *fp, unsigned char *s, int slen);
#endif