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:
parent
9b1fe95a8e
commit
848c3749d2
5 changed files with 53 additions and 60 deletions
11
input.h
11
input.h
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue