Better ANSI C compatibility and portability - part 1:
authorcarl <cecodere@yahoo.ca>
Mon, 18 Feb 2019 16:35:24 +0000 (00:35 +0800)
committercarl <cecodere@yahoo.ca>
Mon, 18 Feb 2019 16:54:23 +0000 (00:54 +0800)
+ Addition of function prototypes.
+ Change function definitions to ANSI C style.

modules/src/string/bts2str.c

index 8d0cb05..2caf14b 100644 (file)
 
 #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;