summaryrefslogtreecommitdiff
path: root/usr.bin/diff/tests/functionname.in
blob: 7b4c50c86cd9641f5a28088c8b5db0562461dd9c (plain)
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
28
29
static void
doSomethingThenPrintHello(int test)
{
	test = test << 4;
	if (test % 8 == 6) {
		return;
	}

	print("goodbye\n");
}


- (long) readOffset:(FILE*)file
{
	if( version >= 11){
		long offset;
		fread(&offset, sizeof(long), 1, file);
		return offset;
	} else {
		int offset;
		fread(&offset, sizeof(int), 1, file);
		return offset;
	}
}

+ (BOOL) isEdible:(NSString *)mushroom
{
	return TRUE;
}