From: Amaury Denoyelle Date: Tue, 27 Apr 2021 08:39:39 +0000 (+0200) Subject: BUG/MINOR: cpuset: move include guard at the very beginning X-Git-Tag: v2.4-dev18~42 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9463f0e2220ec5b7a882b03a0fe7940cadf1cb29;p=thirdparty%2Fhaproxy.git 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. --- diff --git a/include/haproxy/cpuset-t.h b/include/haproxy/cpuset-t.h index f1c532d2e2..6bc29af413 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