Fix: define _LGPL_SOURCE in C files
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 13 Nov 2014 21:22:33 +0000 (16:22 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Sat, 15 Nov 2014 04:44:45 +0000 (23:44 -0500)
Defining this in headers is a bad practice, since the header is not
necessarily the first in the include list.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
105 files changed:
src/bin/lttng-consumerd/health-consumerd.c
src/bin/lttng-consumerd/lttng-consumerd.c
src/bin/lttng-relayd/cmd-2-1.c
src/bin/lttng-relayd/cmd-2-2.c
src/bin/lttng-relayd/cmd-2-4.c
src/bin/lttng-relayd/cmd-generic.c
src/bin/lttng-relayd/connection.c
src/bin/lttng-relayd/ctf-trace.c
src/bin/lttng-relayd/health-relayd.c
src/bin/lttng-relayd/index.c
src/bin/lttng-relayd/live.c
src/bin/lttng-relayd/lttng-relayd.h
src/bin/lttng-relayd/main.c
src/bin/lttng-relayd/session.c
src/bin/lttng-relayd/stream.c
src/bin/lttng-relayd/utils.c
src/bin/lttng-relayd/viewer-stream.c
src/bin/lttng-sessiond/agent-thread.c
src/bin/lttng-sessiond/agent.c
src/bin/lttng-sessiond/buffer-registry.c
src/bin/lttng-sessiond/channel.c
src/bin/lttng-sessiond/cmd.c
src/bin/lttng-sessiond/consumer.c
src/bin/lttng-sessiond/context.c
src/bin/lttng-sessiond/event.c
src/bin/lttng-sessiond/fd-limit.c
src/bin/lttng-sessiond/ht-cleanup.c
src/bin/lttng-sessiond/kernel-consumer.c
src/bin/lttng-sessiond/kernel.c
src/bin/lttng-sessiond/load-session-thread.c
src/bin/lttng-sessiond/lttng-sessiond.h
src/bin/lttng-sessiond/main.c
src/bin/lttng-sessiond/modprobe.c
src/bin/lttng-sessiond/save.c
src/bin/lttng-sessiond/session.c
src/bin/lttng-sessiond/shm.c
src/bin/lttng-sessiond/snapshot.c
src/bin/lttng-sessiond/syscall.c
src/bin/lttng-sessiond/trace-kernel.c
src/bin/lttng-sessiond/trace-ust.c
src/bin/lttng-sessiond/ust-app.c
src/bin/lttng-sessiond/ust-consumer.c
src/bin/lttng-sessiond/ust-metadata.c
src/bin/lttng-sessiond/ust-registry.c
src/bin/lttng-sessiond/ust-thread.c
src/bin/lttng-sessiond/utils.c
src/bin/lttng/commands/add_context.c
src/bin/lttng/commands/calibrate.c
src/bin/lttng/commands/create.c
src/bin/lttng/commands/destroy.c
src/bin/lttng/commands/disable_channels.c
src/bin/lttng/commands/disable_events.c
src/bin/lttng/commands/enable_channels.c
src/bin/lttng/commands/enable_events.c
src/bin/lttng/commands/list.c
src/bin/lttng/commands/load.c
src/bin/lttng/commands/save.c
src/bin/lttng/commands/set_session.c
src/bin/lttng/commands/snapshot.c
src/bin/lttng/commands/start.c
src/bin/lttng/commands/stop.c
src/bin/lttng/commands/version.c
src/bin/lttng/commands/view.c
src/bin/lttng/conf.c
src/bin/lttng/lttng.c
src/bin/lttng/utils.c
src/common/compat/compat-epoll.c
src/common/compat/compat-fcntl.c
src/common/compat/compat-poll.c
src/common/config/config.c
src/common/consumer-metadata-cache.c
src/common/consumer-stream.c
src/common/consumer-timer.c
src/common/consumer.c
src/common/daemonize.c
src/common/defaults.c
src/common/error.c
src/common/futex.c
src/common/hashtable/hashtable.c
src/common/hashtable/rculfhash-mm-chunk.c
src/common/hashtable/rculfhash-mm-mmap.c
src/common/hashtable/rculfhash-mm-order.c
src/common/hashtable/utils.c
src/common/health/health.c
src/common/index/index.c
src/common/kernel-consumer/kernel-consumer.c
src/common/kernel-ctl/kernel-ctl.c
src/common/mi-lttng.c
src/common/pipe.c
src/common/readwrite.c
src/common/relayd/relayd.c
src/common/runas.c
src/common/sessiond-comm/inet.c
src/common/sessiond-comm/inet6.c
src/common/sessiond-comm/sessiond-comm.c
src/common/sessiond-comm/unix.c
src/common/testpoint/testpoint.c
src/common/uri.c
src/common/ust-consumer/ust-consumer.c
src/common/utils.c
src/lib/lttng-ctl/load.c
src/lib/lttng-ctl/lttng-ctl-health.c
src/lib/lttng-ctl/lttng-ctl.c
src/lib/lttng-ctl/save.c
src/lib/lttng-ctl/snapshot.c

index d1478e54de9268c778efe13a85bf7a8c843c1b9f..bd47f0c497c042c5ec247f8537a62822f89938e4 100644 (file)
@@ -16,6 +16,7 @@
  */
 
 #define _GNU_SOURCE
  */
 
 #define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <fcntl.h>
 #include <getopt.h>
 #include <grp.h>
 #include <fcntl.h>
 #include <getopt.h>
 #include <grp.h>
index 5d5703064a110cac4dd8ea389430b878dd8ff302..299776aa00400ea6ab806cb98a49f1a1b0e30f98 100644 (file)
@@ -17,6 +17,7 @@
  */
 
 #define _GNU_SOURCE
  */
 
 #define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <fcntl.h>
 #include <getopt.h>
 #include <grp.h>
 #include <fcntl.h>
 #include <getopt.h>
 #include <grp.h>
index de70c51729425d8c5e0251af41c9979535864f55..0cd9b5ab97f6a2efe338e009dbcd05791158b708 100644 (file)
@@ -17,6 +17,7 @@
  */
 
 #define _GNU_SOURCE
  */
 
 #define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <assert.h>
 #include <string.h>
 
 #include <assert.h>
 #include <string.h>
 
index 978a11e1f55d4359faf26b31efa60a4cd8886c07..7dd99ad5f0dbee10c5c377ec536e93b7ff06b348 100644 (file)
@@ -17,6 +17,7 @@
  */
 
 #define _GNU_SOURCE
  */
 
 #define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <assert.h>
 #include <string.h>
 
 #include <assert.h>
 #include <string.h>
 
index 6d927a05341a2ed503ec473cd75c4a463828c9eb..d8aa73704f39deee40afbeee09b6f0efeb7f32fb 100644 (file)
@@ -17,6 +17,7 @@
  */
 
 #define _GNU_SOURCE
  */
 
 #define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <assert.h>
 #include <string.h>
 
 #include <assert.h>
 #include <string.h>
 
index 9029dcd413500033acfb77a935c7128228e330cc..417d6d33fb4b12c353aabdd5ad2108c82d142618 100644 (file)
@@ -17,6 +17,7 @@
  */
 
 #define _GNU_SOURCE
  */
 
 #define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <assert.h>
 
 #include <common/common.h>
 #include <assert.h>
 
 #include <common/common.h>
index 4cf87ad3471d87e21fb31943ec082cc00b597196..2376a3f29c973c45b3671e0eea413f06cea24deb 100644 (file)
@@ -17,6 +17,7 @@
  */
 
 #define _GNU_SOURCE
  */
 
 #define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <common/common.h>
 
 #include "connection.h"
 #include <common/common.h>
 
 #include "connection.h"
index 9e9a5c69eb87a1f802fd0fc75bd5ea0f2a7a0151..59946ea4a8810bde2edc67414d782f34fc4032cb 100644 (file)
@@ -17,6 +17,7 @@
  */
 
 #define _GNU_SOURCE
  */
 
 #define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <assert.h>
 
 #include <common/common.h>
 #include <assert.h>
 
 #include <common/common.h>
index 8a5cbdfcb550f86a2010586e6eed924d19232861..5c4fb50a15154794b76aec6284b3940479baf7ab 100644 (file)
@@ -16,6 +16,7 @@
  */
 
 #define _GNU_SOURCE
  */
 
 #define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <fcntl.h>
 #include <getopt.h>
 #include <grp.h>
 #include <fcntl.h>
 #include <getopt.h>
 #include <grp.h>
index 8cacdd2f01eb8807d9a5d5de239277b311776256..a3190b71475745d4ee30f444094ee8841776065c 100644 (file)
@@ -17,6 +17,7 @@
  */
 
 #define _GNU_SOURCE
  */
 
 #define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <assert.h>
 
 #include <common/common.h>
 #include <assert.h>
 
 #include <common/common.h>
index 5684608eacc6b72a86550dd0c70e007381922b12..2940b2c6131bd63792fd34fe43badcdef3f359a7 100644 (file)
@@ -17,6 +17,7 @@
  */
 
 #define _GNU_SOURCE
  */
 
 #define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <getopt.h>
 #include <grp.h>
 #include <limits.h>
 #include <getopt.h>
 #include <grp.h>
 #include <limits.h>
index 896925f9e16be3e10655d00e5253051b3098107c..0a3ce47404cea9f6c1692209dc8ab4a325d204fc 100644 (file)
@@ -19,7 +19,6 @@
 #ifndef LTTNG_RELAYD_H
 #define LTTNG_RELAYD_H
 
 #ifndef LTTNG_RELAYD_H
 #define LTTNG_RELAYD_H
 
-#define _LGPL_SOURCE
 #include <limits.h>
 #include <urcu.h>
 #include <urcu/wfcqueue.h>
 #include <limits.h>
 #include <urcu.h>
 #include <urcu/wfcqueue.h>
index 802d7e107abf019720f95b52fabdf556d68df9fb..824f14506334acffcc64271b3572a4bc9080e9af 100644 (file)
@@ -18,6 +18,7 @@
  */
 
 #define _GNU_SOURCE
  */
 
 #define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <getopt.h>
 #include <grp.h>
 #include <limits.h>
 #include <getopt.h>
 #include <grp.h>
 #include <limits.h>
index 984073c62b6cc29ed6c300d1c7446b1273ce0585..46d9cc66a587cfe6bbbb4520998e605217295e74 100644 (file)
@@ -17,6 +17,7 @@
  */
 
 #define _GNU_SOURCE
  */
 
 #define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <common/common.h>
 
 #include "ctf-trace.h"
 #include <common/common.h>
 
 #include "ctf-trace.h"
index 410fae86146048bab2ea975f43b2fa434eb62623..6988e0012406417672351eea36a1804d2d04af20 100644 (file)
@@ -17,6 +17,7 @@
  */
 
 #define _GNU_SOURCE
  */
 
 #define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <common/common.h>
 
 #include "index.h"
 #include <common/common.h>
 
 #include "index.h"
index 392fab6a1b68bf6e25061bb6ec869e6738e67c8a..dbb1d1c7109254e88d9a80bd7a2de49174ce5039 100644 (file)
@@ -17,6 +17,7 @@
  */
 
 #define _GNU_SOURCE
  */
 
 #define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <assert.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <assert.h>
 #include <stdio.h>
 #include <stdlib.h>
index 5ab7be790de867f42676f8c6c84bd2e86bfb7083..2f5d6f788f13ff8a3c35d9aec91ba0e15624a7cc 100644 (file)
@@ -17,6 +17,7 @@
  */
 
 #define _GNU_SOURCE
  */
 
 #define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <common/common.h>
 #include <common/index/index.h>
 
 #include <common/common.h>
 #include <common/index/index.h>
 
index 2c018e9c686050263651f9c7ec54552ef45b536c..d7d9c6c349412ba659c3d3720e950b18ac3b8389 100644 (file)
@@ -16,6 +16,7 @@
  */
 
 #define _GNU_SOURCE
  */
 
 #define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <assert.h>
 
 #include <common/common.h>
 #include <assert.h>
 
 #include <common/common.h>
index d7bc1b55c698a8d4e490bb8c06df4128da1b9bb2..eb3ab1a44df9ce89a4541bb69001427cda84e92a 100644 (file)
@@ -16,6 +16,7 @@
  */
 
 #define _GNU_SOURCE
  */
 
 #define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <assert.h>
 #include <urcu/uatomic.h>
 
 #include <assert.h>
 #include <urcu/uatomic.h>
 
index bab1f309f54560d12f56a8be8675d0532d8772bd..0ff76defbdcce18ad8aae47b28f9b7a43951af19 100644 (file)
@@ -16,6 +16,7 @@
  */
 
 #define _GNU_SOURCE
  */
 
 #define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <inttypes.h>
 
 #include <common/common.h>
 #include <inttypes.h>
 
 #include <common/common.h>
index 1d04b1fcfffd057d3346a40fc3be9abcae29b694..7ea43b8f39c5b6f0ba5253f018d40dc6fa72f821 100644 (file)
@@ -16,6 +16,7 @@
  */
 
 #define _GNU_SOURCE
  */
 
 #define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <inttypes.h>
 #include <string.h>
 #include <unistd.h>
 #include <inttypes.h>
 #include <string.h>
 #include <unistd.h>
index c2b0248ea5210e4506b9086d2228b89fbf89c1ff..41b8502cfee8aeaab2c46e97d0b18a21e43bbdb1 100644 (file)
@@ -16,6 +16,7 @@
  */
 
 #define _GNU_SOURCE
  */
 
 #define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <assert.h>
 #include <inttypes.h>
 #include <urcu/list.h>
 #include <assert.h>
 #include <inttypes.h>
 #include <urcu/list.h>
index ce3e5da9adda44d3481c4bb07785a30f76ac14f5..42738bcac0589b688fab480cd2599dc2b681353a 100644 (file)
@@ -16,6 +16,7 @@
  */
 
 #define _GNU_SOURCE
  */
 
 #define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <assert.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <assert.h>
 #include <stdio.h>
 #include <stdlib.h>
index 2cc6a30a84fd5d0e93566261c3c462d1f61bba55..cd4b85f2a9d576ff828617075e1f305120d69659 100644 (file)
@@ -16,6 +16,7 @@
  */
 
 #define _GNU_SOURCE
  */
 
 #define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
index 181926b415f3e2ed9b50fcb35f25d60d515e48e5..3db3089b66f203d0afbf0aec432933d6a772d3e0 100644 (file)
@@ -16,6 +16,7 @@
  */
 
 #define _GNU_SOURCE
  */
 
 #define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <errno.h>
 #include <urcu/list.h>
 #include <string.h>
 #include <errno.h>
 #include <urcu/list.h>
 #include <string.h>
index a886d33b9c9d49cb9a84319c2ade68244b38d06a..17a18afdc7b3f1d8f968f21b6555c2a6f661508d 100644 (file)
@@ -16,6 +16,7 @@
  */
 
 #define _GNU_SOURCE
  */
 
 #define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <urcu/uatomic.h>
 #include <sys/time.h>
 #include <sys/resource.h>
 #include <urcu/uatomic.h>
 #include <sys/time.h>
 #include <sys/resource.h>
index a201506c0eb1da3ad94ac110c351ad3fc0d064e7..0469f920bfec933ec0b779f8da1cd8d49ed064a4 100644 (file)
@@ -16,6 +16,7 @@
  */
 
 #define _GNU_SOURCE
  */
 
 #define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <assert.h>
 
 #include <common/hashtable/hashtable.h>
 #include <assert.h>
 
 #include <common/hashtable/hashtable.h>
index d71f8ce25c47b75ea32125d8b156f3a8a74e87a6..f634cd362a74fd810622d8d49c28397c137b4a27 100644 (file)
@@ -16,6 +16,7 @@
  */
 
 #define _GNU_SOURCE
  */
 
 #define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
index 00bfbbc2be5400d460e2c7dd7c273335f7d444b4..b7426972c7991a9b1759c3c8b479f0def6eecf73 100644 (file)
@@ -16,6 +16,7 @@
  */
 
 #define _GNU_SOURCE
  */
 
 #define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <errno.h>
 #include <fcntl.h>
 #include <stdlib.h>
 #include <errno.h>
 #include <fcntl.h>
 #include <stdlib.h>
index 868d7c55279b25e2455f626408cdf9118ffbdfd4..3be93cf8de4109440fcec26cb96760222ff0d152 100644 (file)
@@ -16,6 +16,7 @@
  */
 
 #define _GNU_SOURCE
  */
 
 #define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <common/error.h>
 #include <common/config/config.h>
 
 #include <common/error.h>
 #include <common/config/config.h>
 
index d0150123c8bcae1fbdc5c1ccd947db75fc7607d8..488cf2f4b5d5008edd19186680dcd13e1af6e1ed 100644 (file)
@@ -19,7 +19,6 @@
 #ifndef _LTT_SESSIOND_H
 #define _LTT_SESSIOND_H
 
 #ifndef _LTT_SESSIOND_H
 #define _LTT_SESSIOND_H
 
-#define _LGPL_SOURCE
 #include <urcu.h>
 #include <urcu/wfcqueue.h>
 
 #include <urcu.h>
 #include <urcu/wfcqueue.h>
 
index 9542e650dd6883b3351ae20ca249902259a3d94a..a7f77c09f31f7e294268c686340df6040e657643 100644 (file)
@@ -18,6 +18,7 @@
  */
 
 #define _GNU_SOURCE
  */
 
 #define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <getopt.h>
 #include <grp.h>
 #include <limits.h>
 #include <getopt.h>
 #include <grp.h>
 #include <limits.h>
index a28356b423129958728f0ee66a4029163214a965..ebf36646422314346c402c7373cdcccc4bc1f82b 100644 (file)
@@ -17,6 +17,7 @@
  */
 
 #define _GNU_SOURCE
  */
 
 #define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <assert.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <assert.h>
 #include <stdio.h>
 #include <stdlib.h>
index aae56a8954a081d11508fa8a02f6dc081b7aafb5..b78e7f78572b411dce5e4e7be66c75c4fccd5b91 100644 (file)
@@ -16,6 +16,7 @@
  */
 
 #define _GNU_SOURCE
  */
 
 #define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <assert.h>
 #include <inttypes.h>
 #include <string.h>
 #include <assert.h>
 #include <inttypes.h>
 #include <string.h>
index cd59cb7ab0cec8624992a8ddb90da63e365388fb..99b0165070ebc296c9f2bc9dc46a6d5967703741 100644 (file)
@@ -16,6 +16,7 @@
  */
 
 #define _GNU_SOURCE
  */
 
 #define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <limits.h>
 #include <inttypes.h>
 #include <stdio.h>
 #include <limits.h>
 #include <inttypes.h>
 #include <stdio.h>
index a5caa8bb6cdd3ab054872caedb86d362dd714d64..e955d12ba01191ff17d8020a301669653fab33df 100644 (file)
@@ -17,6 +17,7 @@
  */
 
 #define _GNU_SOURCE
  */
 
 #define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <fcntl.h>
 #include <limits.h>
 #include <sys/mman.h>
 #include <fcntl.h>
 #include <limits.h>
 #include <sys/mman.h>
index 8faf9a76a28f99f497c1b4542ed0acdfd5d5603f..1060269f3a9e0b15232f07ec380e643fb027a18c 100644 (file)
@@ -16,6 +16,7 @@
  */
 
 #define _GNU_SOURCE
  */
 
 #define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <assert.h>
 #include <inttypes.h>
 #include <string.h>
 #include <assert.h>
 #include <inttypes.h>
 #include <string.h>
index b4f2e1eca92f2fb726aa774f8bc94f384bc2f000..eb81d67429a2d96ac6b062db40940988ad0dd58c 100644 (file)
@@ -16,6 +16,7 @@
  */
 
 #define _GNU_SOURCE
  */
 
 #define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <common/bitfield.h>
 #include <common/common.h>
 #include <common/kernel-ctl/kernel-ctl.h>
 #include <common/bitfield.h>
 #include <common/common.h>
 #include <common/kernel-ctl/kernel-ctl.h>
index 093297cb01ebc1216855401199b829b5a5659da2..1069d1f8fcb2e6f23b0d81df6c0d8c243f4c4f5e 100644 (file)
@@ -16,6 +16,7 @@
  */
 
 #define _GNU_SOURCE
  */
 
 #define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
index 19a1c95d3e803fa9bf95683a0b82a4a953bf9d87..0e386aa0327f2f430806321766e2a4e2516b64dc 100644 (file)
@@ -16,6 +16,7 @@
  */
 
 #define _GNU_SOURCE
  */
 
 #define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
index c2d20747a6e15b76fd6ae48d68bc0130b003b4dc..784a49ce06f7eb61dd8afa3d8b99bfadaf33c547 100644 (file)
@@ -16,6 +16,7 @@
  */
 
 #define _GNU_SOURCE
  */
 
 #define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <errno.h>
 #include <inttypes.h>
 #include <pthread.h>
 #include <errno.h>
 #include <inttypes.h>
 #include <pthread.h>
index 4b52d599258ca301bbaede1587fa1c559b5c47e1..f120144aaaa994383fd96eea1af4d671cb78c960 100644 (file)
@@ -16,6 +16,7 @@
  */
 
 #define _GNU_SOURCE
  */
 
 #define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <errno.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <errno.h>
 #include <stdio.h>
 #include <stdlib.h>
index f430ae1f1e8ed390df410b71370f1771286afc66..379429285ad6af7f033ce3950c29190eacf706ac 100644 (file)
@@ -20,6 +20,7 @@
  */
 
 #define _GNU_SOURCE
  */
 
 #define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <stdint.h>
 #include <string.h>
 #include <stdarg.h>
 #include <stdint.h>
 #include <string.h>
 #include <stdarg.h>
index dc494161cd60ebedd6b55f19fd402458ca9b9fe7..3f4a962c1014de3913f416e25d3ae6f94db1df21 100644 (file)
@@ -15,6 +15,7 @@
  * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 #define _GNU_SOURCE
  * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 #define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <assert.h>
 #include <inttypes.h>
 
 #include <assert.h>
 #include <inttypes.h>
 
index 080afa53a692487d2e7bc12f29ae0bee9c932f72..d92c1f9082882b428886edf8df89d31e10ee713b 100644 (file)
@@ -15,6 +15,7 @@
  * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 #define _GNU_SOURCE
  * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 #define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <assert.h>
 
 #include <common/common.h>
 #include <assert.h>
 
 #include <common/common.h>
index c9c51ede5abcb2ada1ffa7253b946e1ca646467c..fef31803f181b9c5aaebeec9b9e6dd025d30247f 100644 (file)
@@ -17,6 +17,7 @@
  */
 
 #define _GNU_SOURCE
  */
 
 #define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <stdlib.h>
 #include <unistd.h>
 
 #include <stdlib.h>
 #include <unistd.h>
 
index e50ed84b6e97b9e0e7756ebf4b4a8c3b1bcaffba..1ba13bfd751e3a425705cf371da4f0827bc9f42a 100644 (file)
@@ -16,6 +16,7 @@
  */
 
 #define _GNU_SOURCE
  */
 
 #define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <ctype.h>
 #include <popt.h>
 #include <stdio.h>
 #include <ctype.h>
 #include <popt.h>
 #include <stdio.h>
index 567f4a5fa560b6b031ca02b505e4e8b286a84760..80b6d39e7469b87ebdcf0a8dcd934d6af089ada0 100644 (file)
@@ -17,6 +17,7 @@
  */
 
 #define _GNU_SOURCE
  */
 
 #define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <popt.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <popt.h>
 #include <stdio.h>
 #include <stdlib.h>
index 4f97c86489e9934c9f2b3b136d6757dc186ea1c6..1fa6d418b4ff439c297e08d00bd40f9fff0a1f62 100644 (file)
@@ -16,6 +16,7 @@
  */
 
 #define _GNU_SOURCE
  */
 
 #define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <assert.h>
 #include <ctype.h>
 #include <popt.h>
 #include <assert.h>
 #include <ctype.h>
 #include <popt.h>
index 50d5bb441a4476e8624a3cbfba095adaf2724d1a..95343c9c9a883513dd2741e5a1cb68acb2e612a3 100644 (file)
@@ -16,6 +16,7 @@
  */
 
 #define _GNU_SOURCE
  */
 
 #define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <popt.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <popt.h>
 #include <stdio.h>
 #include <stdlib.h>
index 27f1db5b845f738af0b7a97f4c1062774c8f828a..96a9e5d6c93292f9c6d101d56b9b8f904ebdce2a 100644 (file)
@@ -16,6 +16,7 @@
  */
 
 #define _GNU_SOURCE
  */
 
 #define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <popt.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <popt.h>
 #include <stdio.h>
 #include <stdlib.h>
index e833fe9572141baf13c6a47ca7c922fb647d1155..9ab8bf0b2972f244a4e9223105e7543b0c8025cf 100644 (file)
@@ -16,6 +16,7 @@
  */
 
 #define _GNU_SOURCE
  */
 
 #define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <popt.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <popt.h>
 #include <stdio.h>
 #include <stdlib.h>
index a58ebe0f7847a653147654c53345b0ddb500c016..f8272e92270b5c582faa23cc01b46e04ba38eb24 100644 (file)
@@ -16,6 +16,7 @@
  */
 
 #define _GNU_SOURCE
  */
 
 #define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <popt.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <popt.h>
 #include <stdio.h>
 #include <stdlib.h>
index c4da3dfb67c50ea9cd00d6148a52192722a102d5..5ef349097c5622d6e8abc85521e4ae59e937bf95 100644 (file)
@@ -16,6 +16,7 @@
  */
 
 #define _GNU_SOURCE
  */
 
 #define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <assert.h>
 #include <popt.h>
 #include <stdio.h>
 #include <assert.h>
 #include <popt.h>
 #include <stdio.h>
index 12499ee408f1e545b3afbe727f2b0c3659a23082..f69d34db99aab59b115cf3c6cdf9b77f2a3a9252 100644 (file)
@@ -16,6 +16,7 @@
  */
 
 #define _GNU_SOURCE
  */
 
 #define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <inttypes.h>
 #include <popt.h>
 #include <stdio.h>
 #include <inttypes.h>
 #include <popt.h>
 #include <stdio.h>
index caa571302782c99f413809e58c7e73ed6b80012f..708ef0b4d8e6c5c035b8fa6a66ddd1e966c73440 100644 (file)
@@ -16,6 +16,7 @@
  */
 
 #define _GNU_SOURCE
  */
 
 #define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <inttypes.h>
 #include <popt.h>
 #include <stdio.h>
 #include <inttypes.h>
 #include <popt.h>
 #include <stdio.h>
index 67862a4a02054880da74af7892f0cf2fe5529b48..43f10dc39131d821acc984e3d75aba777707f602 100644 (file)
@@ -16,6 +16,7 @@
  */
 
 #define _GNU_SOURCE
  */
 
 #define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <inttypes.h>
 #include <popt.h>
 #include <stdio.h>
 #include <inttypes.h>
 #include <popt.h>
 #include <stdio.h>
index fd3d9a11813a3a7fdd9bb9f8b47afb8a74b0e4ca..3196f12bdd3863373938267a4106241eaac9100c 100644 (file)
@@ -16,6 +16,7 @@
  */
 
 #define _GNU_SOURCE
  */
 
 #define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <popt.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <popt.h>
 #include <stdio.h>
 #include <stdlib.h>
index f3ef3aff41e09f6888e727b14eef703ffa07515f..4b38edf623d157ffad7a6d11a6a01bb802995832 100644 (file)
@@ -16,6 +16,7 @@
  */
 
 #define _GNU_SOURCE
  */
 
 #define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <assert.h>
 #include <inttypes.h>
 #include <popt.h>
 #include <assert.h>
 #include <inttypes.h>
 #include <popt.h>
index 5ca92d8d14a87049a743f375c5efaa55bb82e3bc..8016434303193c850781f04dda337da3df5d4077 100644 (file)
@@ -16,6 +16,7 @@
  */
 
 #define _GNU_SOURCE
  */
 
 #define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <popt.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <popt.h>
 #include <stdio.h>
 #include <stdlib.h>
index a72f313dfccb11270607e1c2f9b9985419e820da..5ac182b326e9cedee09c1341e130f706a41862c3 100644 (file)
@@ -16,6 +16,7 @@
  */
 
 #define _GNU_SOURCE
  */
 
 #define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <popt.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <popt.h>
 #include <stdio.h>
 #include <stdlib.h>
index f4d89631e7e5a13dfc1a42a6e5aa5d7767d3bacc..a2409c304e06304dc181361275241c2d162cbdf6 100644 (file)
@@ -16,6 +16,7 @@
  */
 
 #define _GNU_SOURCE
  */
 
 #define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <popt.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <popt.h>
 #include <stdio.h>
 #include <stdlib.h>
index dcd4d66245fb5049fa241c00feb771fdf52d93ba..37fb4b8bc3a867ee06ff3e52b3c9155a7069e1a6 100644 (file)
@@ -16,6 +16,7 @@
  */
 
 #define _GNU_SOURCE
  */
 
 #define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <popt.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <popt.h>
 #include <stdio.h>
 #include <stdlib.h>
index 55ed6352663e8f71dd2f496bf48cf5696d586bec..4bcf49e336c18dd79c67d0b4091f608f7d382f89 100644 (file)
@@ -16,6 +16,7 @@
  */
 
 #define _GNU_SOURCE
  */
 
 #define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <limits.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <limits.h>
 #include <stdio.h>
 #include <stdlib.h>
index e4a8fd23ca2cfd92639734b0d74ff7b7c819253d..7658afc164668cbb74c1782ff290b169817ffd46 100644 (file)
@@ -16,6 +16,7 @@
  */
 
 #define _GNU_SOURCE
  */
 
 #define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <getopt.h>
 #include <signal.h>
 #include <stdio.h>
 #include <getopt.h>
 #include <signal.h>
 #include <stdio.h>
index c518405cae2944c6fd3e6e997f024eed307ad0ff..3cc254a3c9e40e8b5c5df5c64ebf942bacca82a0 100644 (file)
@@ -16,6 +16,7 @@
  */
 
 #define _GNU_SOURCE
  */
 
 #define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <assert.h>
 #include <stdlib.h>
 #include <ctype.h>
 #include <assert.h>
 #include <stdlib.h>
 #include <ctype.h>
index 368fae19f6c3615b00760ce99b07d0b3250c7cf1..29bd2f868ed38e1e6253b8841f2326025cb8c644 100644 (file)
@@ -16,6 +16,7 @@
  */
 
 #define _GNU_SOURCE
  */
 
 #define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <assert.h>
 #include <fcntl.h>
 #include <limits.h>
 #include <assert.h>
 #include <fcntl.h>
 #include <limits.h>
index b462fd76c9c77fa8c15e60b3ae2b5a221f9fe38e..527abd857f8f47605765838ae8feb031d10d3790 100644 (file)
@@ -16,6 +16,7 @@
  */
 
 #define _GNU_SOURCE
  */
 
 #define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <common/compat/fcntl.h>
 #include <unistd.h>
 
 #include <common/compat/fcntl.h>
 #include <unistd.h>
 
index 4893768a098543815207c90283eb9591d97a3a4a..32932448dfdb6816e372546788bc393ed917f924 100644 (file)
@@ -16,6 +16,7 @@
  */
 
 #define _GNU_SOURCE
  */
 
 #define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <assert.h>
 #include <stdlib.h>
 #include <sys/resource.h>
 #include <assert.h>
 #include <stdlib.h>
 #include <sys/resource.h>
index 971946c50bd93fbd8f9ef2ea9b2960c4b852d448..f93c5a678f12df5e8024bc21197a7900df12ce84 100644 (file)
@@ -16,6 +16,7 @@
  */
 
 #define _GNU_SOURCE
  */
 
 #define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <assert.h>
 #include <ctype.h>
 #include <stdio.h>
 #include <assert.h>
 #include <ctype.h>
 #include <stdio.h>
index 0f086fe9643218ba91837446b031154c91453e58..9cd99e5bf4d29f090baeb0c8326ce10ba880f2c7 100644 (file)
@@ -17,6 +17,7 @@
  */
 
 #define _GNU_SOURCE
  */
 
 #define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <assert.h>
 #include <pthread.h>
 #include <stdlib.h>
 #include <assert.h>
 #include <pthread.h>
 #include <stdlib.h>
index 8fe02e74eaa8dfe59b90ed4fbe2d6b4cf13b637b..ba72dce01d770378e45bbea4c2e1fb2c05bed4b1 100644 (file)
@@ -18,6 +18,7 @@
  */
 
 #define _GNU_SOURCE
  */
 
 #define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <assert.h>
 #include <inttypes.h>
 #include <sys/mman.h>
 #include <assert.h>
 #include <inttypes.h>
 #include <sys/mman.h>
index 1408052431aac3613db4e912c505320dd497e1ba..e7343afa63057d33333ea4bc9a4a187c663fed41 100644 (file)
@@ -17,6 +17,7 @@
  */
 
 #define _GNU_SOURCE
  */
 
 #define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <assert.h>
 #include <inttypes.h>
 #include <signal.h>
 #include <assert.h>
 #include <inttypes.h>
 #include <signal.h>
index 999e400059fbe763264698a75c67b3fb80d6c717..e37c725c49b095a7c64c6a1b6cd58a52ddb7e803 100644 (file)
@@ -18,6 +18,7 @@
  */
 
 #define _GNU_SOURCE
  */
 
 #define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <assert.h>
 #include <poll.h>
 #include <pthread.h>
 #include <assert.h>
 #include <poll.h>
 #include <pthread.h>
index a8e290603091328e23012d8d39ffda79574d0231..b9d0b03faeed08c100ec0d0587030e30817c1d1a 100644 (file)
@@ -17,6 +17,7 @@
  */
 
 #define _GNU_SOURCE
  */
 
 #define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <unistd.h>
 #include <paths.h>
 #include <fcntl.h>
 #include <unistd.h>
 #include <paths.h>
 #include <fcntl.h>
index d74a42b0aa786cc95ba55f3e219db249bd004444..974f7c6c7e0a064079657e05a46c40065f4c6e91 100644 (file)
@@ -15,6 +15,8 @@
  * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
  * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
+#define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <stddef.h>
 #include <unistd.h>
 
 #include <stddef.h>
 #include <unistd.h>
 
index 852de6fb4cf0c3fc7b0dc33c19164ced148c5be4..2cebbf9ef47f2b360c3277e4953293e8a7e374ac 100644 (file)
@@ -16,6 +16,7 @@
  */
 
 #define _GNU_SOURCE
  */
 
 #define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <assert.h>
 #include <inttypes.h>
 
 #include <assert.h>
 #include <inttypes.h>
 
index 0b27a5bd7bb2b7360dbba351919da0c5a8a13c08..7f07b1118178c1795a197aba98007e74b196dfee 100644 (file)
@@ -17,6 +17,7 @@
  */
 
 #define _GNU_SOURCE
  */
 
 #define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <limits.h>
 #include <sys/syscall.h>
 #include <unistd.h>
 #include <limits.h>
 #include <sys/syscall.h>
 #include <unistd.h>
index b08a57e5cc0a07f53582a3181443d395c8b97765..3a38cbf0f83e20a6d6c315d5fc0c3deef5843a87 100644 (file)
@@ -16,6 +16,7 @@
  */
 
 #define _GNU_SOURCE
  */
 
 #define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <assert.h>
 #include <string.h>
 #include <urcu.h>
 #include <assert.h>
 #include <string.h>
 #include <urcu.h>
index 7204831e5b12d61794b8ed5514060cf7b47b56ae..2e4e049ddcc72d212b2ab7a983c2809d81842654 100644 (file)
@@ -20,6 +20,8 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
+#define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <stddef.h>
 #include "rculfhash-internal.h"
 
 #include <stddef.h>
 #include "rculfhash-internal.h"
 
index b136e1ae0eb73b46d2035cf2bbd9e470f96861d3..cd415dbde91934c6ff2c79ad410bce97e3582183 100644 (file)
@@ -20,6 +20,8 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
+#define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <unistd.h>
 #include <sys/mman.h>
 #include "rculfhash-internal.h"
 #include <unistd.h>
 #include <sys/mman.h>
 #include "rculfhash-internal.h"
index 6e3d29bb3fa2bc004ed4427e42f667d9fdc0902e..0ce98d7a99bc4fd07ef59bf766f7c5c36b352a2f 100644 (file)
@@ -21,6 +21,8 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
+#define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include "rculfhash-internal.h"
 
 static
 #include "rculfhash-internal.h"
 
 static
index 1ea699d6edb921364a30d3c92e31e9ee538571b4..3c6994b1d0a98c0a9da5c5905c5de9a3b1e87e7d 100644 (file)
@@ -49,6 +49,7 @@
  * byte), but shoehorning those bytes into integers efficiently is messy.
  */
 #define _GNU_SOURCE
  * byte), but shoehorning those bytes into integers efficiently is messy.
  */
 #define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <assert.h>
 #include <stdint.h>     /* defines uint32_t etc */
 #include <stdio.h>      /* defines printf for tests */
 #include <assert.h>
 #include <stdint.h>     /* defines uint32_t etc */
 #include <stdio.h>      /* defines printf for tests */
index 49f6dc0ab91d7c7b3a3a1c8adfc6a360916ddddc..3eea3adc0c34f5b6438736f9462b74ea6606bba6 100644 (file)
@@ -17,6 +17,7 @@
  */
 
 #define _GNU_SOURCE
  */
 
 #define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <assert.h>
 #include <inttypes.h>
 #include <stdio.h>
 #include <assert.h>
 #include <inttypes.h>
 #include <stdio.h>
index a462a635e78dfff933efc4dcec1253ceca37f552..35cff533c59150171fa28ec880b473cc1cf3f784 100644 (file)
@@ -17,6 +17,7 @@
  */
 
 #define _GNU_SOURCE
  */
 
 #define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <assert.h>
 #include <sys/stat.h>
 #include <sys/types.h>
 #include <assert.h>
 #include <sys/stat.h>
 #include <sys/types.h>
index cbd1b5aac223962275b7be3472c7f498eb761077..f2023a6961e3f13b619fbeb92a761c8e1fd7998c 100644 (file)
@@ -17,6 +17,7 @@
  */
 
 #define _GNU_SOURCE
  */
 
 #define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <assert.h>
 #include <poll.h>
 #include <pthread.h>
 #include <assert.h>
 #include <poll.h>
 #include <pthread.h>
index f3ef93d3fd5a52bf1d8970d5d068a44cb8120541..b223ceac80f3bdab1a6ba6fd84d160802da6467e 100644 (file)
@@ -16,6 +16,8 @@
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
+#define _GNU_SOURCE
+#define _LGPL_SOURCE
 #define __USE_LINUX_IOCTL_DEFS
 #include <sys/ioctl.h>
 #include <string.h>
 #define __USE_LINUX_IOCTL_DEFS
 #include <sys/ioctl.h>
 #include <string.h>
index 882afc1b6e5a3828cf029f1f4f19aa7133a14bd5..752bcecebd9fc48f7558651395a59b56750c868b 100644 (file)
@@ -16,7 +16,8 @@
  * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
  * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-
+#define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <include/config.h>
 #include <common/config/config.h>
 #include <lttng/snapshot-internal.h>
 #include <include/config.h>
 #include <common/config/config.h>
 #include <lttng/snapshot-internal.h>
index 5e2fc6c392b6a5734cebfa28dee50881a3f0f05f..09e905de4fb64f1819a9cf5b3b8cdfc6281c015b 100644 (file)
@@ -16,6 +16,7 @@
  */
 
 #define _GNU_SOURCE
  */
 
 #define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <assert.h>
 #include <fcntl.h>
 #include <unistd.h>
 #include <assert.h>
 #include <fcntl.h>
 #include <unistd.h>
index d33e0519088049bdb4895198d167d872522d9671..a862d1cffd1f9e195ed294e13f1a3438dbf094f4 100644 (file)
@@ -15,6 +15,8 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
+#define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <assert.h>
 #include <errno.h>
 #include <limits.h>
 #include <assert.h>
 #include <errno.h>
 #include <limits.h>
index 38ebdbde229454c7c98304171786552ce4bdcbdd..47db4081ae41bf55e7ca5d7c5fa6ab8194e37f9f 100644 (file)
@@ -16,6 +16,7 @@
  */
 
 #define _GNU_SOURCE
  */
 
 #define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <assert.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <assert.h>
 #include <stdio.h>
 #include <stdlib.h>
index 5ab42717a9058b4a5083516aa142a3c1efda226d..c146f652dfa324ef86c19ca2362c8f7c04ffe25c 100644 (file)
@@ -17,6 +17,7 @@
  */
 
 #define _GNU_SOURCE
  */
 
 #define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <errno.h>
 #include <limits.h>
 #include <stdio.h>
 #include <errno.h>
 #include <limits.h>
 #include <stdio.h>
index 32a16a690342976a68c4d84f6e5c94abd7ad6d14..2703a666e71e557c10b956bb2c0402d89ca1aec9 100644 (file)
@@ -16,6 +16,7 @@
  */
 
 #define _GNU_SOURCE
  */
 
 #define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <assert.h>
 #include <limits.h>
 #include <stdio.h>
 #include <assert.h>
 #include <limits.h>
 #include <stdio.h>
index 5b137c4eb3a73430ad364b9e9acacce4f6126d3b..9eab3fa2fe7e15bc0c5d6d1417bc7f96d2150cbf 100644 (file)
@@ -16,6 +16,7 @@
  */
 
 #define _GNU_SOURCE
  */
 
 #define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <assert.h>
 #include <limits.h>
 #include <stdio.h>
 #include <assert.h>
 #include <limits.h>
 #include <stdio.h>
index 65952b273eaf49c52a17955ab6bda441bd65f554..a985dc7fe790994fe37b3d95af93f6bbf0b071f6 100644 (file)
@@ -17,6 +17,7 @@
  */
 
 #define _GNU_SOURCE
  */
 
 #define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <assert.h>
 #include <limits.h>
 #include <stdio.h>
 #include <assert.h>
 #include <limits.h>
 #include <stdio.h>
index 2c87b82c451f87de02fb5db074cb24a32c752696..97537c538b9b28d37cbcbbbe857951b1545ef2a6 100644 (file)
@@ -17,6 +17,7 @@
  */
 
 #define _GNU_SOURCE
  */
 
 #define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <assert.h>
 #include <limits.h>
 #include <stdio.h>
 #include <assert.h>
 #include <limits.h>
 #include <stdio.h>
index 6893a4112c55ce302a9b4436a1f00c958f84599c..144323e6f84d3fb5d4d2f3e6be01dd1be7d41ee1 100644 (file)
@@ -18,6 +18,7 @@
 #ifndef NTESTPOINT
 
 #define _GNU_SOURCE /* for RTLD_DEFAULT GNU extension */
 #ifndef NTESTPOINT
 
 #define _GNU_SOURCE /* for RTLD_DEFAULT GNU extension */
+#define _LGPL_SOURCE
 #include <dlfcn.h>  /* for dlsym   */
 #include <stdlib.h> /* for getenv  */
 #include <string.h> /* for strncmp */
 #include <dlfcn.h>  /* for dlsym   */
 #include <stdlib.h> /* for getenv  */
 #include <string.h> /* for strncmp */
index 408b75cd73c7e9808a47c30196372a2ffbe8dde6..668e617d8b3fda5ea10b70e71878cd7d8ad4af99 100644 (file)
@@ -16,6 +16,7 @@
  */
 
 #define _GNU_SOURCE
  */
 
 #define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <assert.h>
 #include <arpa/inet.h>
 #include <netdb.h>
 #include <assert.h>
 #include <arpa/inet.h>
 #include <netdb.h>
index bff360edb18165a9f7f70cd48c1dc9892ffcaf93..52b6979bf72b985e70164e283f5d4a4855a050ce 100644 (file)
@@ -17,6 +17,7 @@
  */
 
 #define _GNU_SOURCE
  */
 
 #define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <assert.h>
 #include <lttng/ust-ctl.h>
 #include <poll.h>
 #include <assert.h>
 #include <lttng/ust-ctl.h>
 #include <poll.h>
index 1d07cb31cc01511aedb781124de609277410075d..4e78767dfb46d2c18b47670174a21bbbeafbdfb3 100644 (file)
@@ -18,6 +18,7 @@
  */
 
 #define _GNU_SOURCE
  */
 
 #define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <assert.h>
 #include <ctype.h>
 #include <fcntl.h>
 #include <assert.h>
 #include <ctype.h>
 #include <fcntl.h>
index 21619a6839c83106b46692c6f19ddd9ee900b9e4..3599503e51ad5b08eba677a01b213a107bad7ad1 100644 (file)
@@ -16,6 +16,7 @@
  */
 
 #define _GNU_SOURCE
  */
 
 #define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <assert.h>
 #include <string.h>
 
 #include <assert.h>
 #include <string.h>
 
index ba9aac05a42bfb5493efb1dbf67d597c799d55b6..83f092593e84f816d87821217b2aeec8d2712876 100644 (file)
@@ -20,6 +20,8 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
+#define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <unistd.h>
 #include <sys/types.h>
 #include <stdint.h>
 #include <unistd.h>
 #include <sys/types.h>
 #include <stdint.h>
index aae0e4fa5708ed4fd6c6416d5074c867da4bc62f..d573eb0be1834e4eab521819badd3e04c502d2b0 100644 (file)
@@ -20,6 +20,7 @@
  */
 
 #define _GNU_SOURCE
  */
 
 #define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <assert.h>
 #include <grp.h>
 #include <errno.h>
 #include <assert.h>
 #include <grp.h>
 #include <errno.h>
index d414a9d1d8c31d100aff87145c968f57e6b667e9..8f8cbb639ae7c7874857d2fb977d69c12af6a03b 100644 (file)
@@ -16,6 +16,7 @@
  */
 
 #define _GNU_SOURCE
  */
 
 #define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <assert.h>
 #include <string.h>
 
 #include <assert.h>
 #include <string.h>
 
index 6b7b8a9fc237e44487c0a3c1692bc1f5ad39a5ec..db9c07135c87ee1960dcdc393f3b4bf395b5ef7d 100644 (file)
@@ -16,6 +16,7 @@
  */
 
 #define _GNU_SOURCE
  */
 
 #define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <assert.h>
 #include <string.h>
 
 #include <assert.h>
 #include <string.h>
 
This page took 0.056656 seconds and 4 git commands to generate.