test140.c 397 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
typedef __crust_t__ unsigned char *crust_t;

#define NULL ((void *)0)

void function(crust_t param);

void main(crust_t param1, crust_t param2, crust_t param3) {

	int a;

	switch (a) {
		case 0:
			function(param1);
			break;
		case 1:
			function(param2);
			break;
		case 3:
			function(param3);
			break;
		default:
			function(param1);
			function(param2);
			function(param3);
		break;
	}
}