summaryrefslogtreecommitdiff
path: root/usr.bin/diff/tests/functionname_c.in
blob: 84f6846783cae319b77f98794b54ee818a4db62a (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("hello\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;
}