opnsense-src/usr.bin/diff/tests/functionname_c.in

30 lines
400 B
Text
Raw Normal View History

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;
}