mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-09 14:50:05 +00:00
Convert dlfcn/tststatic to use test-skeleton.
This commit is contained in:
parent
19a6a3acd1
commit
7285eb535a
@ -1,3 +1,10 @@
|
||||
2015-03-27 Roland McGrath <roland@hack.frob.com>
|
||||
|
||||
* dlfcn/tststatic.c (main): Converted to ...
|
||||
(do_test): ... this.
|
||||
(TEST_FUNCTION): New macro.
|
||||
Include test-skeleton.c.
|
||||
|
||||
2015-03-26 Alan Modra <amodra@gmail.com>
|
||||
|
||||
* sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
|
||||
|
@ -2,8 +2,8 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
int
|
||||
main (void)
|
||||
static int
|
||||
do_test (void)
|
||||
{
|
||||
void *handle;
|
||||
int (*test) (int);
|
||||
@ -33,3 +33,6 @@ main (void)
|
||||
dlclose (handle);
|
||||
return 0;
|
||||
}
|
||||
|
||||
#define TEST_FUNCTION do_test ()
|
||||
#include "../test-skeleton.c"
|
||||
|
Loading…
Reference in New Issue
Block a user