You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
469 B
21 lines
469 B
#ifndef HAVE_FOO
|
|
void foo(void)
|
|
{
|
|
if (bar)
|
|
{
|
|
call_some_function(); /* call the function */
|
|
return(foo); /* comment */
|
|
} /* if (bar) */
|
|
}
|
|
#endif /* HAVE_FOO */
|
|
#ifndef HAVE_BAR /* bar isn't available on all HW */
|
|
void bar(void)
|
|
{
|
|
if (foo)
|
|
{
|
|
call_some_function(); /* call the function */
|
|
return(foo); /* comment */
|
|
} /* if (foo) */
|
|
}
|
|
#endif /* HAVE_BAR */
|