Skip to content

Commit

Permalink
Fix powerpc32 "set but not used" warnings from INTERNAL_SYSCALL_DECL.
Browse files Browse the repository at this point in the history
  • Loading branch information
Joseph Myers committed Dec 4, 2012
1 parent b3b099a commit 20f0018
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
2012-12-04 Joseph Myers <joseph@codesourcery.com>

* sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
(INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).

[BZ #14914]
* sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
whole low double instead of just low 47 bits when splitting values
Expand Down
2 changes: 1 addition & 1 deletion sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@
an error return status). */

# undef INTERNAL_SYSCALL_DECL
# define INTERNAL_SYSCALL_DECL(err) long int err
# define INTERNAL_SYSCALL_DECL(err) long int err __attribute__ ((unused))

# undef INTERNAL_SYSCALL
# define INTERNAL_SYSCALL_NCS(name, err, nr, args...) \
Expand Down

0 comments on commit 20f0018

Please sign in to comment.