diff options
author | Chris Metcalf <cmetcalf@tilera.com> | 2012-12-06 10:42:06 -0500 |
---|---|---|
committer | Chris Metcalf <cmetcalf@tilera.com> | 2012-12-06 10:42:06 -0500 |
commit | 82123268ac12b7e37c04ea6347a555f679f95704 (patch) | |
tree | 114bb3a57a00c6a1138e66030a5e96d35adce2ba /sysdeps | |
parent | d981452619691984caff7a6f8024acc82f1a6f78 (diff) | |
download | glibc-82123268ac12b7e37c04ea6347a555f679f95704.tar glibc-82123268ac12b7e37c04ea6347a555f679f95704.tar.gz glibc-82123268ac12b7e37c04ea6347a555f679f95704.tar.bz2 glibc-82123268ac12b7e37c04ea6347a555f679f95704.zip |
Fix warnings from generic _FPU_GETCW
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/generic/fpu_control.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/generic/fpu_control.h b/sysdeps/generic/fpu_control.h index b9134eb2af..503905298e 100644 --- a/sysdeps/generic/fpu_control.h +++ b/sysdeps/generic/fpu_control.h @@ -1,5 +1,5 @@ /* FPU control word definitions. Stub version. - Copyright (C) 1996, 1997, 1998 Free Software Foundation, Inc. + Copyright (C) 1996-2012 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -29,8 +29,8 @@ typedef unsigned int fpu_control_t; /* Macros for accessing the hardware control word. */ -#define _FPU_GETCW(cw) 0 -#define _FPU_SETCW(cw) do { } while (0) +#define _FPU_GETCW(cw) (cw) = 0 +#define _FPU_SETCW(cw) (void) (cw) /* Default control word set at startup. */ extern fpu_control_t __fpu_control; |