From ad04bd6011483f1072f0ac209184f55bdb6d36e2 Mon Sep 17 00:00:00 2001 From: Denis 'GNUtoo' Carikli Date: Fri, 7 Aug 2020 04:54:03 +0200 Subject: srs: reorder includes - The includes were ordered alphabetically - #include "" is prefered over #incude <> for files relative to a given project[1] (here libsamsung-ril). References: ----------- [1]In the C standard[2], the difference of behavior of between #include <> and #include "" is implementation-defined[2]. And The GCC documentation[3] says that #include "" "is used for header files of your own program.". [2]The standard doesn't seem to be available for free, but the draft can be downloaded from the following URL: https://web.archive.org/web/20181230041359if_/http://www.open-std.org/jtc1/sc22/wg14/www/abq/c17_updated_proposed_fdis.pdf [3]https://gcc.gnu.org/onlinedocs/cpp/Include-Syntax.html Signed-off-by: Denis 'GNUtoo' Carikli --- srs.c | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'srs.c') diff --git a/srs.c b/srs.c index 4a11564..1f6c320 100644 --- a/srs.c +++ b/srs.c @@ -17,26 +17,27 @@ * along with Samsung-RIL. If not, see . */ -#include #include #include +#include + +#include +#include +#include #include #include -#include #include -#include -#include #include -#include #include +#include #define LOG_TAG "RIL-SRS" #include #include -#include -#include +#include "samsung-ril.h" +#include "utils.h" /* * Utils -- cgit v1.2.3