diff options
author | Florian Weimer <fweimer@redhat.com> | 2016-06-23 11:01:21 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2016-06-23 11:01:21 +0200 |
commit | 9d52cb01f253c84e177fe2db8386deaea06a2596 (patch) | |
tree | d9480b0185807c8bae118b77dc24b30a55ad0768 /ChangeLog | |
parent | 14699b6e371fa2dae3a989c9b1ead4f23a285545 (diff) | |
download | glibc-9d52cb01f253c84e177fe2db8386deaea06a2596.tar glibc-9d52cb01f253c84e177fe2db8386deaea06a2596.tar.gz glibc-9d52cb01f253c84e177fe2db8386deaea06a2596.tar.bz2 glibc-9d52cb01f253c84e177fe2db8386deaea06a2596.zip |
test-skeleton.c: xmalloc, xcalloc, xrealloc are potentially unused
__attribute__ ((used)) means that the function has to be
emitted in assembly because it is referenced in ways the
compiler cannot detect (such as asm statements, or some
post-processing on the generated assembly).
The unused attribute needs to come first, otherwise it is
applied to the return type and not the function definition.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1,3 +1,8 @@ +2016-06-23 Florian Weimer <fweimer@redhat.com> + + * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as + potentially unused. + 2016-06-22 Florian Weimer <fweimer@redhat.com> * test-skeleton.c (write_message): New function. |