17 lines
179 B
C
17 lines
179 B
C
|
#include <stdio.h>
|
||
|
|
||
|
int foo;
|
||
|
|
||
|
extern void xxx (void);
|
||
|
|
||
|
void
|
||
|
bar (int x)
|
||
|
{
|
||
|
if (foo == 1)
|
||
|
printf ("OK1\n");
|
||
|
else if (foo == 0)
|
||
|
printf ("OK2\n");
|
||
|
foo = -1;
|
||
|
xxx ();
|
||
|
}
|