test-skeleton.c: xmalloc, xcalloc, xrealloc are potentially unused
authorFlorian Weimer <fweimer@redhat.com>
Thu, 23 Jun 2016 09:01:21 +0000 (11:01 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Thu, 23 Jun 2016 09:01:21 +0000 (11:01 +0200)
commit9d52cb01f253c84e177fe2db8386deaea06a2596
treed9480b0185807c8bae118b77dc24b30a55ad0768
parent14699b6e371fa2dae3a989c9b1ead4f23a285545
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.
ChangeLog
test-skeleton.c