From 559443040567c5def8fdb84dd43504202e2ae7df Mon Sep 17 00:00:00 2001 From: Vadim Yanitskiy Date: Wed, 5 Sep 2018 02:58:03 +0700 Subject: core/utils.h: move includes to the top Having all inculdes listed in one place is a common good practice, which prevents one from adding duplicates. Change-Id: I3f52189d5e8f9afafc39525e95385a085f8f850a --- include/osmocom/core/utils.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/include/osmocom/core/utils.h b/include/osmocom/core/utils.h index 10063cbb..976d4a85 100644 --- a/include/osmocom/core/utils.h +++ b/include/osmocom/core/utils.h @@ -1,6 +1,8 @@ #pragma once #include +#include +#include #include #include @@ -30,9 +32,6 @@ /*! Copy a C-string into a sized buffer using sizeof to detect buffer's size */ #define OSMO_STRLCPY_ARRAY(array, src) osmo_strlcpy(array, src, sizeof(array)) -#include -#include - /*! A mapping between human-readable string and numeric value */ struct value_string { unsigned int value; /*!< numeric value */ -- cgit v1.2.3