Ticket #70245: implicit.patch

File implicit.patch, 856 bytes (added by yesyves, 5 months ago)

Updated implicit.patch

  • libs/libsffile/sffile.c

    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  
    2020 *================================================================*/
    2121//Interface to Denemo License:  FSF GPL version 3 or later
    2222
     23#include <ctype.h>
    2324#include <stdio.h>
    2425#include <string.h>
    2526#include <stdlib.h>
     
    5152int  ParseSoundfont(char *soundfont, int index, char **name, int *preset, int *bank) {
    5253  FILE *fp;
    5354  static SFInfo sf;
    54   static initialized = FALSE;
     55  static int initialized = FALSE;
    5556  int i;
    5657  int number = 0;
    5758  if(soundfont) {