Better ANSI C compatibility and portability - part 1:
+ Addition of function prototypes. + Change function definitions to ANSI C style.
This commit is contained in:
parent
288e81355e
commit
3214ddfa68
|
@ -12,10 +12,10 @@
|
||||||
|
|
||||||
#define is_print(c) ((unsigned)((c) - ' ') <= '~' - ' ')
|
#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;
|
register char *f = b, *t = s;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue