mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-10 07:10:06 +00:00
59910343fc
Fixes: tst-relsort1.c:6:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
20 lines
304 B
C
20 lines
304 B
C
#include <dlfcn.h>
|
|
#include <stdio.h>
|
|
|
|
|
|
static int
|
|
do_test (void)
|
|
{
|
|
const char lib[] = "$ORIGIN/tst-relsort1mod1.so";
|
|
void *h = dlopen (lib, RTLD_NOW);
|
|
if (h == NULL)
|
|
{
|
|
puts (dlerror ());
|
|
return 1;
|
|
}
|
|
return 0;
|
|
}
|
|
|
|
#define TEST_FUNCTION do_test ()
|
|
#include "../test-skeleton.c"
|