about summary refs log blame commit diff
path: root/elf/dep4.c
blob: c496d6f531e61d544b958e1649455a8d33eb5e25 (plain) (tree)
1
2
3
4

                       
                       


















                             
#include <unistd.h>

extern int dep3 (void);
extern int dep4 (void);

static void
__attribute__ ((constructor))
init (void)
{
  write (1, "1", 1);
}

static void
__attribute__ ((destructor))
fini (void)
{
  write (1, "8", 1);
}

int
dep4 (void)
{
  return dep3 ();
}