summaryrefslogtreecommitdiff
path: root/ports/sysdeps/powerpc/nofpu/fgetexcptflg.c
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2012-12-05 18:11:55 +0000
committerJoseph Myers <joseph@codesourcery.com>2012-12-05 18:11:55 +0000
commitea2c5872e2f63415d4126dd8845c93c3a45e3e05 (patch)
treef692fedc23b13d6b3616f26b8f5de65191668f1d /ports/sysdeps/powerpc/nofpu/fgetexcptflg.c
parent8d65d9d7a7878c5d0f0988285f603b29479e3625 (diff)
downloadglibc-ea2c5872e2f63415d4126dd8845c93c3a45e3e05.tar.gz
Specify powerpc-nofpu fegetexceptflag return type.
Diffstat (limited to 'ports/sysdeps/powerpc/nofpu/fgetexcptflg.c')
-rw-r--r--ports/sysdeps/powerpc/nofpu/fgetexcptflg.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ports/sysdeps/powerpc/nofpu/fgetexcptflg.c b/ports/sysdeps/powerpc/nofpu/fgetexcptflg.c
index 36b9b76986..6b00ee0dcd 100644
--- a/ports/sysdeps/powerpc/nofpu/fgetexcptflg.c
+++ b/ports/sysdeps/powerpc/nofpu/fgetexcptflg.c
@@ -1,5 +1,5 @@
/* Store current representation for exceptions (soft-float edition).
- Copyright (C) 2002 Free Software Foundation, Inc.
+ Copyright (C) 2002-2012 Free Software Foundation, Inc.
Contributed by Aldy Hernandez <aldyh@redhat.com>, 2002.
This file is part of the GNU C Library.
@@ -21,6 +21,7 @@
#include "soft-supp.h"
#include <bp-sym.h>
+int
__fegetexceptflag (fexcept_t *flagp, int excepts)
{
*flagp = (fexcept_t) __sim_exceptions & excepts & FE_ALL_EXCEPT;