17 lines
130 B
C
17 lines
130 B
C
|
#include <stdlib.h>
|
||
|
|
||
|
extern int counter;
|
||
|
|
||
|
void
|
||
|
foo (void)
|
||
|
{
|
||
|
counter++;
|
||
|
}
|
||
|
|
||
|
__attribute__((weak))
|
||
|
void
|
||
|
bar (void)
|
||
|
{
|
||
|
abort ();
|
||
|
}
|