2000-03-31 19:09:42 +02:00
|
|
|
#include <unistd.h>
|
|
|
|
|
2000-12-15 17:03:57 +01:00
|
|
|
extern int dep2 (void);
|
2000-03-31 19:09:42 +02:00
|
|
|
extern int dep3 (void);
|
|
|
|
extern int dep4 (void);
|
|
|
|
|
|
|
|
static void
|
|
|
|
__attribute__ ((constructor))
|
|
|
|
init (void)
|
|
|
|
{
|
|
|
|
write (1, "2", 1);
|
|
|
|
}
|
|
|
|
|
|
|
|
static void
|
|
|
|
__attribute__ ((destructor))
|
|
|
|
fini (void)
|
|
|
|
{
|
|
|
|
write (1, "7", 1);
|
|
|
|
}
|
|
|
|
|
|
|
|
int
|
|
|
|
dep2 (void)
|
|
|
|
{
|
|
|
|
return dep3 () - dep4 ();
|
|
|
|
}
|