Better ANSI C compatibility and portability - part 1:

+ Addition of function prototypes.
+ Change function definitions to ANSI C style.
This commit is contained in:
carl 2019-02-19 00:35:24 +08:00
parent 288e81355e
commit 3214ddfa68

View file

@ -12,10 +12,10 @@
#define is_print(c) ((unsigned)((c) - ' ') <= '~' - ' ')
char *
bts2str(b, n, s)
char *b, *s;
register int n;
char *bts2str(char *b, register int n, char *s)
{
register char *f = b, *t = s;