mirror of
https://github.com/opnsense/src.git
synced 2026-02-11 14:55:36 -05:00
32 lines
493 B
Text
32 lines
493 B
Text
|
|
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
|
||
|
|
{
|
||
|
|
/* With a solid guide book (such as Phillips 2006) assume we can't eat
|
||
|
|
* the fungus */
|
||
|
|
return FALSE;
|
||
|
|
}
|