Port: Remove _GNU_SOURCE, defined in config.h
authorMichael Jeanson <mjeanson@efficios.com>
Wed, 14 Oct 2015 20:47:21 +0000 (16:47 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 19 Oct 2015 18:54:21 +0000 (14:54 -0400)
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
130 files changed:
include/version.h.tmpl
src/bin/lttng-consumerd/health-consumerd.c
src/bin/lttng-consumerd/lttng-consumerd.c
src/bin/lttng-crash/lttng-crash.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/main.c
src/bin/lttng-relayd/session.c
src/bin/lttng-relayd/stream-fd.c
src/bin/lttng-relayd/stream.c
src/bin/lttng-relayd/tracefile-array.c
src/bin/lttng-relayd/utils.c
src/bin/lttng-relayd/viewer-session.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/agent.h
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/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/trace-ust.h
src/bin/lttng-sessiond/ust-app.c
src/bin/lttng-sessiond/ust-consumer.c
src/bin/lttng-sessiond/ust-ctl.h
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/track-untrack.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/compat/uuid.h
src/common/config/config.c
src/common/config/ini.c
src/common/config/ini.h
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/defaults.h
src/common/error.c
src/common/futex.c
src/common/hashtable/hashtable.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/agent.h
src/common/sessiond-comm/inet.c
src/common/sessiond-comm/inet.h
src/common/sessiond-comm/inet6.c
src/common/sessiond-comm/inet6.h
src/common/sessiond-comm/relayd.h
src/common/sessiond-comm/sessiond-comm.c
src/common/sessiond-comm/sessiond-comm.h
src/common/sessiond-comm/unix.c
src/common/sessiond-comm/unix.h
src/common/testpoint/testpoint.c
src/common/uri.c
src/common/ust-consumer/ust-consumer.c
src/common/ust-consumer/ust-consumer.h
src/common/utils.c
src/lib/lttng-ctl/filter/memstream.h
src/lib/lttng-ctl/load.c
src/lib/lttng-ctl/lttng-ctl-health.c
src/lib/lttng-ctl/lttng-ctl-helper.h
src/lib/lttng-ctl/lttng-ctl.c
src/lib/lttng-ctl/save.c
src/lib/lttng-ctl/snapshot.c
tests/regression/tools/live/live_test.c
tests/regression/tools/mi/validate_xml.c
tests/unit/test_kernel_data.c
tests/unit/test_session.c
tests/unit/test_ust_data.c
tests/unit/test_utils_expand_path.c
tests/utils/tap/tap.c
tests/utils/testapp/gen-ust-events/gen-ust-events.c

index d3f33024a937d82850fcae2f184c9ee4654a9222..133a90acefb56ead1cbf28df9b79d84519880b2e 100644 (file)
@@ -18,8 +18,6 @@
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#include <config.h>
-
 #define GIT_VERSION    ""
 
 #endif /* VERSION_H */
index 5be1c97b028f95a75313aee921b461ca886ab7f2..8d632ef95262256868555e5d2dcb0a6fc7dcb25c 100644 (file)
@@ -15,7 +15,6 @@
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <fcntl.h>
 #include <getopt.h>
@@ -37,7 +36,6 @@
 #include <unistd.h>
 #include <sys/mman.h>
 #include <assert.h>
-#include <config.h>
 #include <urcu/compiler.h>
 #include <ulimit.h>
 #include <inttypes.h>
index a56f02d1b1ccc264a4178b534ed189e377a45bae..cd0fc73b2167781e600348c711307dc4bf4e2bd2 100644 (file)
@@ -16,7 +16,6 @@
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <fcntl.h>
 #include <getopt.h>
@@ -38,7 +37,6 @@
 #include <unistd.h>
 #include <sys/mman.h>
 #include <assert.h>
-#include <config.h>
 #include <urcu/compiler.h>
 #include <ulimit.h>
 
index 06b3f8a25fa72a0c32f6c64df8cc7a4711ef44f7..653e4d0a6667e88fcc4dc74a49e1885897099874 100644 (file)
@@ -16,7 +16,6 @@
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #include <getopt.h>
 #include <signal.h>
 #include <stdio.h>
@@ -29,7 +28,6 @@
 #include <fcntl.h>
 #include <sys/wait.h>
 #include <unistd.h>
-#include <config.h>
 #include <ctype.h>
 #include <dirent.h>
 #include <byteswap.h>
index 32a94386f3ef8171191f15cfcbc63de3ab6b2a5f..a9e55c6acb866d427cbf20d6271dee3f4a848155 100644 (file)
@@ -17,7 +17,6 @@
  * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <assert.h>
 #include <string.h>
index f82166cf3c14b9d62fe5c0c03a2057f2d7fef890..47567b6203212a6b9ee5408e489d156436253ed1 100644 (file)
@@ -17,7 +17,6 @@
  * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <assert.h>
 #include <string.h>
index a3290cb259cc28fd31cb2087391800b571200876..98cd92b2a12dcee45b378710fce694f0c9351e93 100644 (file)
@@ -17,7 +17,6 @@
  * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <assert.h>
 #include <string.h>
index 276e85bb3ded1c5d90e7ac4c71465ced39652c30..89ae69e7a0e31125162ad297ecdf9285ff901d9e 100644 (file)
@@ -17,7 +17,6 @@
  * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <assert.h>
 
index fce6c84d58c922f5d26491c62160ba49ab2577ef..f3d7e642ef2aa0139bce4a1f927d8a3ee56f1f77 100644 (file)
@@ -17,7 +17,6 @@
  * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <common/common.h>
 #include <urcu/rculist.h>
index 7c882620e36fb11d8e2030b724df7ac64b4b2f89..27009efc38270bd0e46adc6b046f59134c8b5b12 100644 (file)
@@ -17,7 +17,6 @@
  * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <assert.h>
 
index be0b0b12400897b5f35a3633c653db3a2ca18add..10a0e5fdffe1b88ab4ae144dcfff87f381b38b1a 100644 (file)
@@ -15,7 +15,6 @@
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <fcntl.h>
 #include <getopt.h>
@@ -37,7 +36,6 @@
 #include <unistd.h>
 #include <sys/mman.h>
 #include <assert.h>
-#include <config.h>
 #include <urcu/compiler.h>
 #include <ulimit.h>
 #include <inttypes.h>
index 5b5c711cb9c718170adf78b1a0cd721945a2ab21..9c307790ac5f3f332e7695ff9790782b76683400 100644 (file)
@@ -17,7 +17,6 @@
  * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <assert.h>
 
index 8da2d62fbaa1aac211fac676cf2650cf2df4bdd7..0cf2665161251a71ce1351e76c5f997598c5251d 100644 (file)
@@ -17,7 +17,6 @@
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <getopt.h>
 #include <grp.h>
@@ -40,7 +39,6 @@
 #include <urcu/rculist.h>
 #include <unistd.h>
 #include <fcntl.h>
-#include <config.h>
 
 #include <lttng/lttng.h>
 #include <common/common.h>
index 53ffbddf0ac8c71cc1129e3b5e233bdb6564a95f..58fb457b3b65583471dc038f3a7407e9c5d46150 100644 (file)
@@ -18,7 +18,6 @@
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <getopt.h>
 #include <grp.h>
@@ -40,7 +39,6 @@
 #include <urcu/uatomic.h>
 #include <unistd.h>
 #include <fcntl.h>
-#include <config.h>
 
 #include <lttng/lttng.h>
 #include <common/common.h>
index 2300e5f1adab5c6c2190af4829cb9c2767f3e2f3..7fffea8af4d29145e97cb320786cc0265531106b 100644 (file)
@@ -17,7 +17,6 @@
  * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <common/common.h>
 #include <urcu/rculist.h>
index 57324d7a0f1e9b15ebcc03e9f6a3719c3ba48270..e376fa1684062ef681939a0a7827d61b3f88825c 100644 (file)
@@ -15,7 +15,6 @@
  * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <common/common.h>
 
index 02bf9dd54995ed2aab6d026ecb578d9127610908..cbd7ceb88d4874a9866b2b4973d111f174d80edc 100644 (file)
@@ -17,7 +17,6 @@
  * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <common/common.h>
 #include <common/utils.h>
index bcbee5c557103b042544f936f82e8d99b12089fd..20b760c06893f2387968f3f773dd2cd846675fa1 100644 (file)
@@ -15,7 +15,6 @@
  * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <assert.h>
 #include <common/common.h>
index dbb1d1c7109254e88d9a80bd7a2de49174ce5039..51fe19348d09f1378999d5ab3b6041b856f6132c 100644 (file)
@@ -16,7 +16,6 @@
  * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <assert.h>
 #include <stdio.h>
index 657d3fc36a0892a4bbfa4268a58790539799dc9e..6d74b351717dc695103127b178c2074dd142a54b 100644 (file)
@@ -17,7 +17,6 @@
  * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <common/common.h>
 #include <urcu/rculist.h>
index 42318dff9160ffada3baf0385b6e7320a08f55e5..623f94ca7fca4d059254d36bfc902ea030d17a03 100644 (file)
@@ -17,7 +17,6 @@
  * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <common/common.h>
 #include <common/index/index.h>
index 2b6f776dd1d2af6010dd9c3c4f550e6873d0280d..39d2ec4a05bd1297c31e2ac7036600772ea38ffa 100644 (file)
@@ -15,7 +15,6 @@
  * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <assert.h>
 
index a4b1b34344bea6f4527df623190187a33d0efe19..35f0e578a0da725863f1b07be9d385a577371ea2 100644 (file)
@@ -15,7 +15,6 @@
  * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <assert.h>
 #include <urcu/uatomic.h>
index 50a4fdab353b658a1ea8e0cc62a89ee3fcf1b665..7fba3e9e31c7400865aa1ae4727e49fcc72c6fb0 100644 (file)
@@ -18,7 +18,6 @@
 #ifndef LTTNG_SESSIOND_AGENT_H
 #define LTTNG_SESSIOND_AGENT_H
 
-#define _GNU_SOURCE
 #include <inttypes.h>
 
 #include <common/hashtable/hashtable.h>
index 10758f9b8534ce26b65cce19a870e2ed82e11e45..7fbe3565b85d509d30db5561fedf743d4becde00 100644 (file)
@@ -15,7 +15,6 @@
  * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <inttypes.h>
 
index 69498050ede41639cfc283f4288371834dfccc2d..06a6d616af7a01d4c9207e6d7b86156e2d3b499e 100644 (file)
@@ -15,7 +15,6 @@
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <inttypes.h>
 #include <string.h>
index b4521dfe3be28c63a083035b27ed121ad4dfbdd5..33e301c87fb20850d536e5637b3ddb7a4420b0c7 100644 (file)
@@ -15,7 +15,6 @@
  * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <assert.h>
 #include <inttypes.h>
index b9764f8a52bc7cfe73076a3ec0f28f19bc4b99bc..650d002cdda75ab6cbcb03b1676ed92505552818 100644 (file)
@@ -15,7 +15,6 @@
  * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <assert.h>
 #include <stdio.h>
index 7412144bf06704ac575ab4486da68230d6584308..0de1d069a705494e61905602cd68966715ecdaa7 100644 (file)
@@ -15,7 +15,6 @@
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <stdio.h>
 #include <stdlib.h>
index 447b872ed50191e237527b9a41e186722fb96a25..c0e2014aecaf33205da24203d0d03bcf10d305be 100644 (file)
@@ -15,7 +15,6 @@
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <errno.h>
 #include <urcu/list.h>
index aefe62f24222fede390779f1d74b5fa39f0af3c4..1e08682e89a56a84e8faec90a36080858e537849 100644 (file)
@@ -15,7 +15,6 @@
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <urcu/uatomic.h>
 #include <sys/time.h>
index b5f58d06722e14c0659138904429dc6014b295d4..4a4bfc41b11a003be69ad6985654d55e18583a47 100644 (file)
@@ -15,7 +15,6 @@
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <assert.h>
 
index 06616ba872b3f996ebf0e9447c6aee9440a8bb96..7582d80f0dea7eaf17d6d805eb680a4dbb657f15 100644 (file)
@@ -15,7 +15,6 @@
  * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <stdio.h>
 #include <stdlib.h>
index 381b83e6366c120128d9e6a639a081a24c54b684..2cad0b2ab44b8bdd8ece486521e62f6654677e4d 100644 (file)
@@ -15,7 +15,6 @@
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <errno.h>
 #include <fcntl.h>
index 3be93cf8de4109440fcec26cb96760222ff0d152..38451107c7e3c1b6684c2c3e7d4579cce1caae27 100644 (file)
@@ -15,7 +15,6 @@
  * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <common/error.h>
 #include <common/config/config.h>
index 9d5a668e5c5446983583f83907102a766db6f73c..77f059a766e8514d36c51bf9fb17372146b16527 100644 (file)
@@ -17,7 +17,6 @@
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <getopt.h>
 #include <grp.h>
@@ -38,7 +37,6 @@
 #include <sys/wait.h>
 #include <urcu/uatomic.h>
 #include <unistd.h>
-#include <config.h>
 
 #include <common/common.h>
 #include <common/compat/socket.h>
index a7cbab287bf62a973ab871b871cade1ec7918548..4c1ea67be18c50c4800c5ccf76374ee27e98f6b1 100644 (file)
@@ -16,7 +16,6 @@
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <assert.h>
 #include <stdio.h>
index 862cedd2672cf6f782244a73e437158602185e2e..3df1f2828f17d275efcc69930030d1bd4cd25936 100644 (file)
@@ -15,7 +15,6 @@
  * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <assert.h>
 #include <inttypes.h>
index 49055fb109be531af3354afcb28249b20a623d06..1e5a81831c978451b0df61ad19712eea3a3c3fac 100644 (file)
@@ -15,7 +15,6 @@
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <limits.h>
 #include <inttypes.h>
index e955d12ba01191ff17d8020a301669653fab33df..a6328d5f618fb4474d70b5d5966cf45d5ff4a121 100644 (file)
@@ -16,7 +16,6 @@
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <fcntl.h>
 #include <limits.h>
index 898f77af98f1c463c3682757ef278acbd7da97d2..3de468a835f496d746cd981a3963e7943e4d0fef 100644 (file)
@@ -15,7 +15,6 @@
  * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <assert.h>
 #include <inttypes.h>
index 43c0a2010225a804763b6843bd7329a44c542726..7b9227b86912f8a80628167fdc2908df2eb6ccf4 100644 (file)
@@ -15,7 +15,6 @@
  * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <common/bitfield.h>
 #include <common/common.h>
index b4dc1b9e81e46765f523cda523a3c26a864dd106..29432de49a0355b16863ab69189929a6c37719f3 100644 (file)
@@ -15,7 +15,6 @@
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <stdio.h>
 #include <stdlib.h>
index 1adda7e82b19b673f93352a921d843e1a5951e68..178c7d04eb9f6f3ede96c59bdd82616975820168 100644 (file)
@@ -15,7 +15,6 @@
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <stdio.h>
 #include <stdlib.h>
index 7de5f041939dfe5638bd77c7f7017f13cd6256bc..04b3e027c2781eb4c2d979b9d15ebd5998df1299 100644 (file)
@@ -18,7 +18,6 @@
 #ifndef _LTT_TRACE_UST_H
 #define _LTT_TRACE_UST_H
 
-#include <config.h>
 #include <limits.h>
 #include <urcu/list.h>
 
index bbba4a604e4b5d120840496bb4c7f3a4d625a25d..f0af340770ca59bd98ddda1d48e0ffd4d01bd262 100644 (file)
@@ -15,7 +15,6 @@
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <errno.h>
 #include <inttypes.h>
index 7317b64eff8f1cff92a79af54ebb1f8440c738d9..abb9e103d6c40278e37508506a24eb7fff7ae7e2 100644 (file)
@@ -15,7 +15,6 @@
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <errno.h>
 #include <stdio.h>
index 5a1bb669dfbaef1f129c7ff1a036afd2c6dca8ce..131ff63b67e87305ce1c5466e592844e336fe6a7 100644 (file)
@@ -22,8 +22,6 @@
 #ifndef LTTNG_UST_CTL_H
 #define LTTNG_UST_CTL_H
 
-#include <config.h>
-
 struct ust_app;
 
 /*
index 0f060c440a0fdb13e80a607c48df8600d582f12e..71bcf7e7d325f61764de8832b8877a0b5e7e30ed 100644 (file)
@@ -19,7 +19,6 @@
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <stdint.h>
 #include <string.h>
index 315aed945b503391e6c1f9de2f21681c6ee34f6b..71fdc4fd8294d48c8f335222b2af2381cb1972e0 100644 (file)
@@ -14,7 +14,7 @@
  * this program; if not, write to the Free Software Foundation, Inc., 51
  * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
-#define _GNU_SOURCE
+
 #define _LGPL_SOURCE
 #include <assert.h>
 #include <inttypes.h>
index 9c944c55288f7470025e47fffbf77ae981fe6199..7fb18a782bd2969d3415a2774880c14a60bfaca4 100644 (file)
@@ -14,7 +14,7 @@
  * this program; if not, write to the Free Software Foundation, Inc., 51
  * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
-#define _GNU_SOURCE
+
 #define _LGPL_SOURCE
 #include <assert.h>
 
index f5f1cff638810207d17086f88a9af6b89fea768d..f77a21ddb153a5ebdd88815af3e9850e37736151 100644 (file)
@@ -16,7 +16,6 @@
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <stdlib.h>
 #include <unistd.h>
index 2e1c1c5b7e281bd64340f69d90b7f0172a786b0b..fb37c0aa738f202b6d9a8dbd1a32f1470e91420c 100644 (file)
@@ -15,7 +15,6 @@
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <ctype.h>
 #include <popt.h>
index 118a398578bacc8dc181d43456324b0909d0fc55..b15ce40cf924c6992d14a9c1221f0f73540c2525 100644 (file)
@@ -16,7 +16,6 @@
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <popt.h>
 #include <stdio.h>
index abc5cb9b8e1133170bb9df9fa4f93ec36676f737..5027fce90dc1d8aca19f63566a7a6e4535b52489 100644 (file)
@@ -15,7 +15,6 @@
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <assert.h>
 #include <ctype.h>
index 53fe3aca13b676c6f94e4b64c912191bfb5bfe15..f74bf515c79ae44c7668e8cd674156ce24159da0 100644 (file)
@@ -15,7 +15,6 @@
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <popt.h>
 #include <stdio.h>
index 01f971f2f9fb2e1db667576c44d9e2f1789aa60b..f1f2e51b9a21c2296189c6813758fe7dfc3aa183 100644 (file)
@@ -15,7 +15,6 @@
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <popt.h>
 #include <stdio.h>
index 51bf3a1f10614c33c117d2d6f9f2f185819dbf6e..cc27115651270230a67479aec4cbb9220643b858 100644 (file)
@@ -15,7 +15,6 @@
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <popt.h>
 #include <stdio.h>
index b7863332e6888837840a46995e0361adb8663c17..673fecfc57a0aeb394135b3b92a9e2c1d350ec82 100644 (file)
@@ -15,7 +15,6 @@
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <popt.h>
 #include <stdio.h>
index 573725d5c1ba8d79bad1e4de43db310640b04681..44cc70dcb1c63a26fbeccb380721eb2ef7622f64 100644 (file)
@@ -15,7 +15,6 @@
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <assert.h>
 #include <popt.h>
index fc1d82001e111befe11b2b7c75ea9e802654d519..ccbb5b419359414aa626622bd64cc08535f36a26 100644 (file)
@@ -15,7 +15,6 @@
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <inttypes.h>
 #include <popt.h>
index 708ef0b4d8e6c5c035b8fa6a66ddd1e966c73440..68c0776ad1b75a13eb13cb50516fdf743c32bac1 100644 (file)
@@ -15,7 +15,6 @@
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <inttypes.h>
 #include <popt.h>
index 43f10dc39131d821acc984e3d75aba777707f602..6bd8732266ad2c5b4581b68445939f4eafb01284 100644 (file)
@@ -15,7 +15,6 @@
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <inttypes.h>
 #include <popt.h>
index 14fe9afd8362ee20eaaf2bc5618460af7217d953..c0572e1275d46f273cb446bedd8010ab4a4463a2 100644 (file)
@@ -15,7 +15,6 @@
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <popt.h>
 #include <stdio.h>
index 846e9badc168c07da31dfea7e20579b8871d4dc2..465d864de1d15c977b53f3497bd6945ce28524c2 100644 (file)
@@ -15,7 +15,6 @@
  * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <assert.h>
 #include <inttypes.h>
index 8016434303193c850781f04dda337da3df5d4077..b353eb6e3888174483ac52932145f575a1089f92 100644 (file)
@@ -15,7 +15,6 @@
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <popt.h>
 #include <stdio.h>
index 5ac182b326e9cedee09c1341e130f706a41862c3..affc3985bb48f5977fdcb95a7241613166b7c62d 100644 (file)
@@ -15,7 +15,6 @@
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <popt.h>
 #include <stdio.h>
index ea05574514ab698e06c65b46e4f7dce84e8c13f5..a4f4689e7457c226821280778aff330fdc376434 100644 (file)
@@ -16,7 +16,6 @@
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <ctype.h>
 #include <popt.h>
index a2409c304e06304dc181361275241c2d162cbdf6..7634f5871a0eaec92e7a4820e36e21c487905aa1 100644 (file)
@@ -15,7 +15,6 @@
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <popt.h>
 #include <stdio.h>
@@ -24,7 +23,6 @@
 #include <sys/stat.h>
 #include <sys/types.h>
 #include <unistd.h>
-#include <config.h>
 
 #include <common/mi-lttng.h>
 
index acb4f1e1b999ba8dcebcf64c2f34a6af15f86901..44e0cb015c93e90bc31cc553bead112f368602cd 100644 (file)
@@ -15,7 +15,6 @@
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <popt.h>
 #include <stdio.h>
@@ -26,7 +25,6 @@
 #include <unistd.h>
 
 #include "../command.h"
-#include <config.h>
 
 static char *opt_session_name;
 static char *opt_viewer;
index f96be3a8175a248e8c1e6187e8e5fc5e96c8b270..364977492d05b18002092e549b95d9cc90e2572e 100644 (file)
@@ -15,7 +15,6 @@
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <limits.h>
 #include <stdio.h>
index bf07c83b76058219e88ceb1c41b41122242252d2..25665b3695db85ceb27a17db5032035237e8b0f0 100644 (file)
@@ -15,7 +15,6 @@
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <getopt.h>
 #include <signal.h>
@@ -25,7 +24,6 @@
 #include <sys/types.h>
 #include <sys/wait.h>
 #include <unistd.h>
-#include <config.h>
 #include <ctype.h>
 
 #include <lttng/lttng.h>
index 9957b378162b897a8743c8897425da51d27e0cb7..ea9108fba5e207a0830e4468f492caea6b3ab1dc 100644 (file)
@@ -15,7 +15,6 @@
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <assert.h>
 #include <stdlib.h>
index 5d6153b64d075b5da4dc9881680be992e6018b6f..58f50cc94dd83e33448ca31ebdb2fd2594fee88a 100644 (file)
@@ -15,7 +15,6 @@
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <assert.h>
 #include <fcntl.h>
@@ -24,7 +23,6 @@
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <unistd.h>
-#include <config.h>
 
 #include <common/error.h>
 #include <common/defaults.h>
index 527abd857f8f47605765838ae8feb031d10d3790..c6c6b4e994962d84c353eaad21bb2013dfca9b4d 100644 (file)
@@ -15,7 +15,6 @@
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <common/compat/fcntl.h>
 #include <unistd.h>
index 32bcce8e4643fdf2c3d858da9273147537a39a06..e4f1a3fed47c296c99feb980aa35d8615dcf667f 100644 (file)
@@ -15,7 +15,6 @@
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <assert.h>
 #include <stdlib.h>
index 35faf538875053ccc240ceb2253230d39cdf695e..4a71f16c8af1cbb6a5d3d8dd46e470f5f861329d 100644 (file)
@@ -23,7 +23,6 @@
 #ifndef LTTNG_UUID_H
 #define LTTNG_UUID_H
 
-#include <config.h>
 /*
  * Includes final \0.
  */
index 6834d7a54427e72502fd0a635de4e3735c49fb85..5e5a8d58e0c2ce229f2c724f931898a3a05c81cb 100644 (file)
@@ -15,7 +15,6 @@
  * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <assert.h>
 #include <ctype.h>
index 18ed705be9c0d74e9ce2a533bb9ca507456186f4..34e3abf8a682a9bb8b3fe048b2bb8ecd6741c534 100644 (file)
@@ -31,7 +31,6 @@
  * http://code.google.com/p/inih/
  */
 
-#define _GNU_SOURCE
 #include <stdio.h>
 #include <ctype.h>
 #include <string.h>
index 4d9b771c64a8953a5aa618b9a402282fe8374b58..cb65f11b712290fd0842ba7971ef4742a0561a40 100644 (file)
@@ -39,7 +39,6 @@
 extern "C" {
 #endif
 
-#define _GNU_SOURCE
 #include <stdio.h>
 
 typedef int (*ini_entry_handler)(void *, const char *, const char *,
index 6774692316a6dc4fe1b3e1a0fdf33d09fbc0c960..cbd3ef3945a5065017dbe1dc46c354fa10446aa5 100644 (file)
@@ -16,7 +16,6 @@
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <assert.h>
 #include <pthread.h>
index 604e2f45deea228017e558a9f45e09244d1cb4fe..a62cef272294d360953e5d685fca745d7509bcff 100644 (file)
@@ -17,7 +17,6 @@
  * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <assert.h>
 #include <inttypes.h>
index c3a07eca8a1dd7af4299e134665685495a33967b..5764b13339cafd0366d68e7120519c4333ef3057 100644 (file)
@@ -16,7 +16,6 @@
  * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <assert.h>
 #include <inttypes.h>
index 0299d5e952cfd5c946ef91916103e8f261b02623..9909fc13ce05cb32104c5d379f9f05fb150831f5 100644 (file)
@@ -17,7 +17,6 @@
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <assert.h>
 #include <poll.h>
index 3a006134b2bb9f5902b531b84c7d263315f81ae9..4b4531d53613f792d0bf410bc2048085cee9db2e 100644 (file)
@@ -16,7 +16,6 @@
  * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <unistd.h>
 #include <paths.h>
index 974f7c6c7e0a064079657e05a46c40065f4c6e91..e670eeb0ffbb1b74819916dd7e58ad8cb3001e61 100644 (file)
@@ -15,7 +15,6 @@
  * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <stddef.h>
 #include <unistd.h>
index 02721bf797ff0a661f3deb9fa74a89bbbb59a83e..cba94c9168eff2111f4879c9e63cf51fbe36b3d9 100644 (file)
@@ -19,8 +19,6 @@
 #ifndef _DEFAULTS_H
 #define _DEFAULTS_H
 
-#include <config.h>
-
 /* Default unix group name for tracing. */
 #define DEFAULT_TRACING_GROUP                   "tracing"
 
index d046dcba97004bb068942814c4d85a89ad5cd904..23ee1b5ef4c59130bd695359be4a783e607d864b 100644 (file)
@@ -15,7 +15,6 @@
  * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <assert.h>
 #include <inttypes.h>
index 078186743bfa468b9c5745d46438cfeb03fa8a17..2ae03b27d13c47b85510795ee9f657a1bc2c3cd6 100644 (file)
@@ -16,7 +16,6 @@
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <limits.h>
 #include <sys/syscall.h>
index 55346b903bb5a465e23d07d4037f174ea00e9ce1..5b861c8004d04e4f125e2c294cc980f42e0869d6 100644 (file)
@@ -15,7 +15,6 @@
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <assert.h>
 #include <string.h>
index 3c6994b1d0a98c0a9da5c5905c5de9a3b1e87e7d..8d68ef603736e60c362b20b6bdb25b5a49639fb7 100644 (file)
@@ -48,7 +48,7 @@
  * with 12*3 instructions on 3 integers than you can with 3 instructions on 1
  * 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 */
index 3eea3adc0c34f5b6438736f9462b74ea6606bba6..2667e393002c8cbb21c22fdd70e384d90396d92d 100644 (file)
@@ -16,7 +16,6 @@
  * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <assert.h>
 #include <inttypes.h>
index c193ced27568f94f5764dd7672e8b440aaf104a7..066618e8bd1a70ea3a7bb7ebe9e2b4b76ece1cc1 100644 (file)
@@ -16,7 +16,6 @@
  * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <assert.h>
 #include <sys/stat.h>
index aae56f90cf8e0765f6b95d65a375f06a5f1891fe..7875e890b6668ddf99ed6ca79bb107d99e5d17e3 100644 (file)
@@ -16,7 +16,6 @@
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <assert.h>
 #include <poll.h>
index 18cd95529cfef620d1e6305de0d88e2572fe147f..8574c1f050b88f387e78e8b06ac80d6c97df5be6 100644 (file)
@@ -16,7 +16,6 @@
  * 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>
index 7662c110619fc214edb6387a7aaa92dfcea6890c..10e82115ea6478ede3bed74be1d5436f2395c8dd 100644 (file)
@@ -16,9 +16,7 @@
  * 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 "mi-lttng.h"
index 2544f7b45f76265a8d757d540686953047092758..00211238e603ebc605f2bc63578bfa82652c0f0b 100644 (file)
@@ -15,7 +15,6 @@
  * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <assert.h>
 #include <fcntl.h>
index 8a0b347f717eb76647c2aa0e81238285b96646b4..42a048fdabd2d3abaf0e32d561f9cb901930baff 100644 (file)
@@ -15,7 +15,6 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <assert.h>
 #include <errno.h>
index 47db4081ae41bf55e7ca5d7c5fa6ab8194e37f9f..a9fe6a7f1dbe7a84d4ae8f174d89969129a71b3a 100644 (file)
@@ -15,7 +15,6 @@
  * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <assert.h>
 #include <stdio.h>
index 1105f207fb83d3b4ef1734159fbd7a7e0e0a3f04..3d2abd4384a722fc0daecc6dfa23b7821336369f 100644 (file)
@@ -16,7 +16,6 @@
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <errno.h>
 #include <limits.h>
index 4fbe3db7a34f25695388498fa687876e7187b74e..f3564550b746b47d4c00954545f86a4df7f70e20 100644 (file)
@@ -18,7 +18,6 @@
 #ifndef AGENT_COMM
 #define AGENT_COMM
 
-#define _GNU_SOURCE
 #include <stdint.h>
 
 #include <lttng/lttng.h>
index 2703a666e71e557c10b956bb2c0402d89ca1aec9..5727c91199a2cfb3244041444d6cfa374052c276 100644 (file)
@@ -15,7 +15,6 @@
  * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <assert.h>
 #include <limits.h>
index 83209bb719fff759e4719ed48f34cf69bb8fd7a2..6a79c91061d0be0499a881c1b7267852f7230ec0 100644 (file)
@@ -18,7 +18,6 @@
 #ifndef _LTTCOMM_INET_H
 #define _LTTCOMM_INET_H
 
-#define _GNU_SOURCE
 #include <limits.h>
 
 #include "sessiond-comm.h"
index 9eab3fa2fe7e15bc0c5d6d1417bc7f96d2150cbf..db5cda2e1560a176c682002923417902b941d172 100644 (file)
@@ -15,7 +15,6 @@
  * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <assert.h>
 #include <limits.h>
index 4cb4dca3e038de36aab02a21619572f73092d2aa..3af3be5be2cba6b3ad85908804c12acc6d9c57d2 100644 (file)
@@ -18,7 +18,6 @@
 #ifndef _LTTCOMM_INET6_H
 #define _LTTCOMM_INET6_H
 
-#define _GNU_SOURCE
 #include <limits.h>
 
 #include "sessiond-comm.h"
index f6ba15abef6b78a725e2f4f60257f34080f05521..4d751b86d91d22dee618f2231342cebddc8d5e08 100644 (file)
 #ifndef _RELAYD_COMM
 #define _RELAYD_COMM
 
-#define _GNU_SOURCE
-
 #include <limits.h>
 #include <stdint.h>
 
 #include <lttng/lttng.h>
 #include <common/defaults.h>
 #include <common/index/ctf-index.h>
-#include <config.h>
 
 #define RELAYD_VERSION_COMM_MAJOR             VERSION_MAJOR
 #define RELAYD_VERSION_COMM_MINOR             VERSION_MINOR
index a985dc7fe790994fe37b3d95af93f6bbf0b071f6..7a27f708c84bd91840784c518052656bb39bebec 100644 (file)
@@ -16,7 +16,6 @@
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <assert.h>
 #include <limits.h>
index 1e51ae12352af6334c9293c013e8064027e9fe04..67d1bcfaf72e0677d1afd46e7e3e3604dea88d2b 100644 (file)
@@ -25,7 +25,6 @@
 #ifndef _LTTNG_SESSIOND_COMM_H
 #define _LTTNG_SESSIOND_COMM_H
 
-#define _GNU_SOURCE
 #include <limits.h>
 #include <lttng/lttng.h>
 #include <lttng/snapshot-internal.h>
index bee133d8d9cbf8f32c70e8d849c4371ac6e7e1fc..cf285c7e2dc83e8bb8c92d9d45769d589c1015a5 100644 (file)
@@ -16,7 +16,6 @@
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <assert.h>
 #include <limits.h>
index 7eba1021b00d121b2ea8cd5ccdaf4493f02d56ad..7ea05032fb39fa511eb1f761e3e212be0fc7666d 100644 (file)
@@ -18,7 +18,6 @@
 #ifndef _LTTCOMM_UNIX_H
 #define _LTTCOMM_UNIX_H
 
-#define _GNU_SOURCE
 #include <limits.h>
 #include <sys/un.h>
 
index 144323e6f84d3fb5d4d2f3e6be01dd1be7d41ee1..8ce5b9d215e56a69acb5655cdda2cac4a40eea14 100644 (file)
@@ -17,7 +17,6 @@
 
 #ifndef NTESTPOINT
 
-#define _GNU_SOURCE /* for RTLD_DEFAULT GNU extension */
 #define _LGPL_SOURCE
 #include <dlfcn.h>  /* for dlsym   */
 #include <stdlib.h> /* for getenv  */
index 668e617d8b3fda5ea10b70e71878cd7d8ad4af99..dd2d9e4eea4bd0379eac739d9589b7b55727a91b 100644 (file)
@@ -15,7 +15,6 @@
  * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <assert.h>
 #include <arpa/inet.h>
index 481bbeba04b2f91eef880335cbd3ac8ef5cb9302..5bf3e7b5a4218b6925da7f0f64583c308b9ed664 100644 (file)
@@ -16,7 +16,6 @@
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <assert.h>
 #include <lttng/ust-ctl.h>
index 08f1fa8a33bef09b81632fcfe4fed5df6325da4e..339c52747428ef1ed6eeb54dfb4a40d244d39fce 100644 (file)
@@ -19,7 +19,6 @@
 #ifndef _LTTNG_USTCONSUMER_H
 #define _LTTNG_USTCONSUMER_H
 
-#include <config.h>
 #include <errno.h>
 
 #include <common/consumer.h>
index 52fb25dbe7202a3af44d1548ea1b021b2ad7ee65..b9af7b9da4d9c189e204ad7c91c12cb08c67f4b0 100644 (file)
@@ -17,7 +17,6 @@
  * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <assert.h>
 #include <ctype.h>
index 7b7797cfaa1ad394ba5aaa4b8d4770fe3c119c27..6990b6fd709189e99b55416b93e11cd5f7604389 100644 (file)
@@ -19,9 +19,6 @@
  * all copies or substantial portions of the Software.
  */
 
-#define _GNU_SOURCE
-#include <config.h>
-
 #ifdef LTTNG_HAVE_FMEMOPEN
 #include <stdio.h>
 
index 29998cda303e5c1894cff26ca4b90c26aa244cc8..40a28bcf14b5202944c5ee666eb4ebe5846ecf5a 100644 (file)
@@ -15,7 +15,6 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <assert.h>
 #include <string.h>
index 01d430d0d4c49fc390b4c6ffa77ddb92ea2ed575..fffdfa0d8ecbdee4cef8965a217ca94f19944821 100644 (file)
@@ -20,7 +20,6 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <unistd.h>
 #include <sys/types.h>
index 58b3dba57fecb13c93a946fd8b759ace6b531ba1..5f6d5c209a4163077048353f8a9c172480bb99b8 100644 (file)
@@ -18,7 +18,6 @@
 #ifndef LTTNG_CTL_HELPER_H
 #define LTTNG_CTL_HELPER_H
 
-#define _GNU_SOURCE
 #include <stdio.h>
 
 #include <common/sessiond-comm/sessiond-comm.h>
index 100732648e6e288ef57829d70bec346e2ad59b70..ae27e6b5b3c42ca37c496631f4de793ee4733449 100644 (file)
@@ -19,7 +19,6 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <assert.h>
 #include <grp.h>
index d2a7e67c55a14b75719ada6355b970039f292f9c..f8b9043b634fcf053644721d4770b57250a2377c 100644 (file)
@@ -15,7 +15,6 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <assert.h>
 #include <string.h>
index db9c07135c87ee1960dcdc393f3b4bf395b5ef7d..b30c4706e7db2a5d6901b1dd586a245d1e912ddb 100644 (file)
@@ -15,7 +15,6 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <assert.h>
 #include <string.h>
index 92e3411d3ae638e226ab321059c27f5cd6c8c3f3..a38eeee9002ca1545bff669c97c186e0b2a6739b 100644 (file)
@@ -15,7 +15,6 @@
  * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #include <assert.h>
 #include <errno.h>
 #include <stdio.h>
index f875853477859e52dfa9779403c409a83bbba582..20171fea6e76e1566a63e24aeef3e0130e61445b 100644 (file)
@@ -22,7 +22,6 @@
   * argv[2] Path to the XML to be validated
   */
 
-#define _GNU_SOURCE
 #include <assert.h>
 #include <ctype.h>
 #include <stdio.h>
index 603d54cb251333e28bd37e5c62e8cc7009f2d911..f1e1b388cff4476faeae1837e24398fe1997e69e 100644 (file)
@@ -16,7 +16,6 @@
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #include <assert.h>
 #include <errno.h>
 #include <stdio.h>
index 4f90c3347ec13c7894030ac8d37dd846093b6497..bb136a022eb12b0862aaa336fe9811db3aab51df 100644 (file)
@@ -16,7 +16,6 @@
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #include <assert.h>
 #include <errno.h>
 #include <stdio.h>
index 155d83215bd1b4772b949326a5b2470d3fac7a66..40010a862168e0adef190f411016a3c7f4f3095f 100644 (file)
@@ -16,7 +16,6 @@
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #include <assert.h>
 #include <errno.h>
 #include <stdio.h>
index 1224a5cbbca994802ad77603a7d4dead127dfdb6..44173f6f023e2c18ae8eb848ef15965c0978ca7c 100644 (file)
@@ -15,7 +15,6 @@
  * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #include <assert.h>
 #include <string.h>
 #include <stdio.h>
index 8bf72f6fcde57dac97fd9673cb0df5efdf9b6b0c..08dfa658ca76e4e3cdca4ab1fca7f1c694b4d791 100644 (file)
@@ -24,7 +24,6 @@
  * SUCH DAMAGE.
  */
 
-#define _GNU_SOURCE
 #include <ctype.h>
 #include <stdarg.h>
 #include <stdio.h>
index 11327d5f4b6866d7c324b50223181897ccf8e862..b0892ce96ec5ba43f41a71c8dd39ac7d0f19979f 100644 (file)
@@ -15,7 +15,6 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <assert.h>
 #include <arpa/inet.h>
This page took 0.066722 seconds and 5 git commands to generate.