From 2be2ce5f7ef7a9907cc0d3475ec0377b3ae77412 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Sat, 22 Sep 2001 15:44:07 +0000 Subject: [PATCH] Avoid compile warning. 2001-09-22 Andreas Jaeger * linuxthreads/tst-context.c: Avoid compile warning. --- elf/reldep4.c | 2 +- linuxthreads/ChangeLog | 4 ++++ linuxthreads/tst-context.c | 2 ++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/elf/reldep4.c b/elf/reldep4.c index e8ab6d2..ba12e7d 100644 --- a/elf/reldep4.c +++ b/elf/reldep4.c @@ -4,7 +4,7 @@ #include int -main() +main (void) { int i; void *h1, *h2; diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog index aec226a..c864308 100644 --- a/linuxthreads/ChangeLog +++ b/linuxthreads/ChangeLog @@ -1,3 +1,7 @@ +2001-09-22 Andreas Jaeger + + * linuxthreads/tst-context.c: Avoid compile warning. + 2001-09-20 Andreas Jaeger * shlib-versions: Add x86-64. diff --git a/linuxthreads/tst-context.c b/linuxthreads/tst-context.c index c72b2ac..9066e83 100644 --- a/linuxthreads/tst-context.c +++ b/linuxthreads/tst-context.c @@ -56,7 +56,9 @@ threadfct (void *arg) #endif +#ifdef FLOATING_STACKS static volatile int global; +#endif int main (void) -- 2.7.4