Skip to contentSkip to conversation

Fix: Remove unused headers

PATCH Jérémie Galarneau 1 participant 1 message Feb 14, 2017 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Merged in master and stable-2.9.

Thanks,
Jérémie

Quoted 36 lines · Michael Jeanson

This is a portability fix, these headers are unused and not available on some platforms.

---
 src/bin/lttng-relayd/health-relayd.c | 1 -
 src/common/futex.c                   | 1 -
 2 files changed, 2 deletions(-)
src/bin/lttng-relayd/health-relayd.c +0 -1
index cff6c6e..b14b827 100644
@@ -37,7 +37,6 @@
 #include <sys/mman.h>
 #include <assert.h>
 #include <urcu/compiler.h>
-#include <ulimit.h>
 #include <inttypes.h>
 
 #include <common/defaults.h>
src/common/futex.c +0 -2
index 2ae03b2..384e957 100644
@@ -18,7 +18,6 @@
 
 #define _LGPL_SOURCE
 #include <limits.h>
-#include <sys/syscall.h>
 #include <unistd.h>
 #include <urcu.h>
 #include <urcu/futex.h>
--

2.7.4

Signature · 7 lines
Jérémie Galarneau
EfficiOS Inc.
http://www.efficios.com
_______________________________________________
lttng-dev mailing list
[email protected]
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev