xref: /freebsd/usr.bin/diff/tests/functionname.in (revision 8f79bd9b85716c495c2741ac25db37e8d71f22f7)
1*8f79bd9bSTom Jonesstatic void
2*8f79bd9bSTom JonesdoSomethingThenPrintHello(int test)
3*8f79bd9bSTom Jones{
4*8f79bd9bSTom Jones	test = test << 4;
5*8f79bd9bSTom Jones	if (test % 8 == 6) {
6*8f79bd9bSTom Jones		return;
7*8f79bd9bSTom Jones	}
8*8f79bd9bSTom Jones
9*8f79bd9bSTom Jones	print("goodbye\n");
10*8f79bd9bSTom Jones}
11*8f79bd9bSTom Jones
12*8f79bd9bSTom Jones
13*8f79bd9bSTom Jones- (long) readOffset:(FILE*)file
14*8f79bd9bSTom Jones{
15*8f79bd9bSTom Jones	if( version >= 11){
16*8f79bd9bSTom Jones		long offset;
17*8f79bd9bSTom Jones		fread(&offset, sizeof(long), 1, file);
18*8f79bd9bSTom Jones		return offset;
19*8f79bd9bSTom Jones	} else {
20*8f79bd9bSTom Jones		int offset;
21*8f79bd9bSTom Jones		fread(&offset, sizeof(int), 1, file);
22*8f79bd9bSTom Jones		return offset;
23*8f79bd9bSTom Jones	}
24*8f79bd9bSTom Jones}
25*8f79bd9bSTom Jones
26*8f79bd9bSTom Jones+ (BOOL) isEdible:(NSString *)mushroom
27*8f79bd9bSTom Jones{
28*8f79bd9bSTom Jones	return TRUE;
29*8f79bd9bSTom Jones}
30