From 9463f0e2220ec5b7a882b03a0fe7940cadf1cb29 Mon Sep 17 00:00:00 2001 From: Amaury Denoyelle Date: Tue, 27 Apr 2021 10:39:39 +0200 Subject: [PATCH] BUG/MINOR: cpuset: move include guard at the very beginning The include guard in cpuset-t.h were misplaced and should be the first directive of the file. No need to backport. --- include/haproxy/cpuset-t.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/haproxy/cpuset-t.h b/include/haproxy/cpuset-t.h index f1c532d2e..6bc29af41 100644 --- a/include/haproxy/cpuset-t.h +++ b/include/haproxy/cpuset-t.h @@ -1,3 +1,6 @@ +#ifndef _HAPROXY_CPUSET_T_H +#define _HAPROXY_CPUSET_T_H + #define _GNU_SOURCE #include @@ -9,9 +12,6 @@ #endif #endif -#ifndef _HAPROXY_CPUSET_T_H -#define _HAPROXY_CPUSET_T_H - #if defined(__linux__) || defined(__DragonFly__) # define CPUSET_REPR cpu_set_t