main.c||In function ‘sort_str’:|
main.c|12|error: passing argument 1 of ‘strcmp’ makes pointer from integer without a cast [-Wint-conversion]|
/usr/include/string.h|144|note: expected ‘const char *’ but argument is of type ‘char’|
main.c|12|error: passing argument 2 of ‘strcmp’ makes pointer from integer without a cast [-Wint-conversion]|
/usr/include/string.h|144|note: expected ‘const char *’ but argument is of type ‘char’|
main.c|13|error: passing argument 2 of ‘strcpy’ makes pointer from integer without a cast [-Wint-conversion]|
/usr/include/string.h|129|note: expected ‘const char * restrict’ but argument is of type ‘char’|
main.c|14|error: passing argument 1 of ‘strcpy’ makes pointer from integer without a cast [-Wint-conversion]|
/usr/include/string.h|129|note: expected ‘char * restrict’ but argument is of type ‘char’|
main.c|14|error: passing argument 2 of ‘strcpy’ makes pointer from integer without a cast [-Wint-conversion]|
/usr/include/string.h|129|note: expected ‘const char * restrict’ but argument is of type ‘char’|
main.c|15|error: passing argument 1 of ‘strcpy’ makes pointer from integer without a cast [-Wint-conversion]|
/usr/include/string.h|129|note: expected ‘char * restrict’ but argument is of type ‘char’|
main.c||In function ‘main’:|
main.c|29|error: implicit declaration of function ‘gets’ [-Wimplicit-function-declaration]|
main.c|34|error: passing argument 1 of ‘puts’ makes pointer from integer without a cast [-Wint-conversion]|
/usr/include/stdio.h|695|note: expected ‘const char *’ but argument is of type ‘char’|