Code:
#include <stdio.h>



int main(void){

		char c1,c2,c3,x,y,z;
	
		printf("Enter three capital letters: ");
		scanf("%c%c%c",&c1,&c2,&c3);
line 13:		order_chars(c1,c2,c3);
		
		printf("\nHere are your letters in alpha-betical order: %c%c%c",x,y,z);

}

line 19: char order_chars(char x,char y,char z){
	
	char c4,c5,c6;
	
	if(x < y){
		x = x;
		y = y;
	}	
	else{
		c4 = x;
		x = y;
		y = c4;
	}	
	if(x < z){
		x = x;
		z = z;
	}	
	else{
		c5 = x;
		x = z;
		z = c5;
	}	
	if(y < z){
		y = y;
		z = z;
	}	
	else{
		c6 = y;
		y = z;
		z = c6;
	}	
return x,y,z;
}
How are these errors possible.....ARGGGG

Code:
8-7.c:19: error: conflicting types for 'order_chars'
8-7.c:13: error: previous implicit declaration of 'order_chars' was here