summaryrefslogtreecommitdiff
path: root/libgcc/config
diff options
context:
space:
mode:
Diffstat (limited to 'libgcc/config')
-rw-r--r--libgcc/config/vxlib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgcc/config/vxlib.c b/libgcc/config/vxlib.c
index 3cb86907895..3df5d1f00b2 100644
--- a/libgcc/config/vxlib.c
+++ b/libgcc/config/vxlib.c
@@ -70,7 +70,7 @@ __gthread_once (__gthread_once_t *guard, void (*func)(void))
/* This can happen on powerpc, which is using all 32 bits
of the gthread_once_t structure. */
if (guard->done)
- return;
+ return 0;
#endif
taskDelay (1);
}