Fix:
sffile.c:38:10: error: implicitly declaring library function 'isprint' with type 'int (int)' [-Werror,-Wimplicit-function-declaration]
sffile.c:55:10: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
old
|
new
|
|
20 | 20 | *================================================================*/ |
21 | 21 | //Interface to Denemo License: FSF GPL version 3 or later |
22 | 22 | |
| 23 | #include <ctype.h> |
23 | 24 | #include <stdio.h> |
24 | 25 | #include <string.h> |
25 | 26 | #include <stdlib.h> |
… |
… |
|
51 | 52 | int ParseSoundfont(char *soundfont, int index, char **name, int *preset, int *bank) { |
52 | 53 | FILE *fp; |
53 | 54 | static SFInfo sf; |
54 | | static initialized = FALSE; |
| 55 | static int initialized = FALSE; |
55 | 56 | int i; |
56 | 57 | int number = 0; |
57 | 58 | if(soundfont) { |