Define _GNU_SOURCE for all implementation files rather than getcpu.h
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 15 Feb 2012 00:12:35 +0000 (19:12 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 15 Feb 2012 00:12:35 +0000 (19:12 -0500)
commit5ad63a1632792c8bc40fa5bc9f7f45f037a68032
tree31369cde250655c9de872fe4cb7d475e8aeebe09
parente9d165be13c8d6e3c0f60e5eca9bf2c5fbfa7712
Define _GNU_SOURCE for all implementation files rather than getcpu.h

If implementation files include the sched.h header prior to having
_GNU_SOURCE defined by getcpu.h, we get in a situation where
sched_getcpu() can be undeclared.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
liblttng-ust/ltt-ring-buffer-client.h
liblttng-ust/ltt-ring-buffer-metadata-client.h
libringbuffer/getcpu.h
libringbuffer/ring_buffer_backend.c
libringbuffer/ring_buffer_frontend.c
libringbuffer/smp.c
This page took 0.025186 seconds and 4 git commands to generate.