diff options
Diffstat (limited to 'elf')
-rw-r--r-- | elf/ifuncdep2.c | 8 | ||||
-rw-r--r-- | elf/ifuncmain1.c | 2 | ||||
-rw-r--r-- | elf/ifuncmain1vis.c | 2 | ||||
-rw-r--r-- | elf/testobj.h | 10 | ||||
-rw-r--r-- | elf/tst-stackguard1.c | 2 |
5 files changed, 12 insertions, 12 deletions
diff --git a/elf/ifuncdep2.c b/elf/ifuncdep2.c index 758bae1932..99d19263ae 100644 --- a/elf/ifuncdep2.c +++ b/elf/ifuncdep2.c @@ -17,7 +17,7 @@ minus_one (void) } static int -zero (void) +zero (void) { return 0; } @@ -25,7 +25,7 @@ zero (void) void * foo1_ifunc (void) __asm__ ("foo1"); __asm__(".type foo1, %gnu_indirect_function"); -void * +void * foo1_ifunc (void) { return ifunc_sel (one, minus_one, zero); @@ -34,7 +34,7 @@ foo1_ifunc (void) void * foo2_ifunc (void) __asm__ ("foo2"); __asm__(".type foo2, %gnu_indirect_function"); -void * +void * foo2_ifunc (void) { return ifunc_sel (minus_one, one, zero); @@ -43,7 +43,7 @@ foo2_ifunc (void) void * foo3_ifunc (void) __asm__ ("foo3"); __asm__(".type foo3, %gnu_indirect_function"); -void * +void * foo3_ifunc (void) { return ifunc_sel (one, zero, minus_one); diff --git a/elf/ifuncmain1.c b/elf/ifuncmain1.c index cc1e5ec5ba..747fc02648 100644 --- a/elf/ifuncmain1.c +++ b/elf/ifuncmain1.c @@ -29,7 +29,7 @@ int main (void) { foo_p p; - + if (foo_ptr != foo) abort (); if (foo () != -1) diff --git a/elf/ifuncmain1vis.c b/elf/ifuncmain1vis.c index 81cd12288e..d35e2f81fc 100644 --- a/elf/ifuncmain1vis.c +++ b/elf/ifuncmain1vis.c @@ -50,7 +50,7 @@ int main (void) { foo_p p; - + if (foo_ptr != foo) abort (); if ((*foo_ptr) () != -30) diff --git a/elf/testobj.h b/elf/testobj.h index 12f18effcc..1707ae340e 100644 --- a/elf/testobj.h +++ b/elf/testobj.h @@ -15,14 +15,14 @@ extern int obj3func1 (int); extern int obj3func2 (int); extern int obj4func1 (int); - + extern int obj4func2 (int); - + extern int obj5func1 (int); - + extern int obj5func2 (int); - + extern int obj6func1 (int); - + extern int obj6func2 (int); diff --git a/elf/tst-stackguard1.c b/elf/tst-stackguard1.c index fba60bdc90..2caa4a7807 100644 --- a/elf/tst-stackguard1.c +++ b/elf/tst-stackguard1.c @@ -160,7 +160,7 @@ do_test (void) the 16 runs, something is very wrong. */ int ndifferences = 0; int ndefaults = 0; - for (i = 0; i < N; ++i) + for (i = 0; i < N; ++i) { if (child_stack_chk_guards[i] != child_stack_chk_guards[i+1]) ndifferences++; |