/in/foo.c:3:1: warning: data definition has no type or storage class
Removes(char s[],char c);
^~~~~~~
/in/foo.c:3:1: warning: type defaults to 'int' in declaration of 'Removes' [-Wimplicit-int]
/in/foo.c: In function 'main':
/in/foo.c:8:2: warning: 'gets' is deprecated [-Wdeprecated-declarations]
gets(s);
^~~~
In file included from /in/foo.c:1:0:
/usr/include/stdio.h:640:14: note: declared here
extern char *gets (char *__s) __wur __attribute_deprecated__;
^~~~
/in/foo.c: At top level:
/in/foo.c:14:1: warning: return type defaults to 'int' [-Wimplicit-int]
Removes(char s[],char c)
^~~~~~~
/in/foo.c: In function 'Finds':
/in/foo.c:29:2: warning: statement with no effect [-Wunused-value]
for(i;s[i]!=0;i++)
^~~
/in/foo.c: In function 'Removes':
/in/foo.c:26:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
/tmp/cc6CA6SD.o: In function `main':
foo.c:(.text.startup+0x11): warning: the `gets' function is dangerous and should not be used.