From: Mathieu Desnoyers Date: Tue, 7 Aug 2012 14:43:18 +0000 (-0400) Subject: Cleanup: Remove misplaced config.h include X-Git-Tag: v2.1.0-rc1~38 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=bd845206eabfb048214da2ef76e6c9ecb4b05726;p=lttng-tools.git Cleanup: Remove misplaced config.h include config.h should _always_ be included first, before system headers, to ensure coherent size_t across the file. We force the config.h inclusion by the compiler, so this is not an issue (configure.ac: DEFAULT_INCLUDES="-I\$(top_srcdir) -I\$(top_builddir) -I\$(top_builddir)/src -I\$(top_builddir)/include -include config.h"), but let's remove this misleading line of code. Signed-off-by: Mathieu Desnoyers Signed-off-by: David Goulet --- diff --git a/src/common/hashtable/rculfhash.c b/src/common/hashtable/rculfhash.c index 776f9f391..423d1865c 100644 --- a/src/common/hashtable/rculfhash.c +++ b/src/common/hashtable/rculfhash.c @@ -157,7 +157,6 @@ #include #include -#include "config.h" #include #include #include