Fix grouping and reuse other locales in various locales
[glibc.git] / elf / reldepmod3.c
blob66a996cd90aec8a45cfec40fa06e70daf99736b5
1 #include <dlfcn.h>
2 #include <stdio.h>
3 #include <stdlib.h>
5 extern int call_me (void);
7 int
8 call_me (void)
10 int (*fp) (void);
12 fp = dlsym (RTLD_DEFAULT, "foo");
13 if (fp == NULL)
15 printf ("cannot get address of foo in global scope: %s\n", dlerror ());
16 exit (1);
19 return fp () - 42;