This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
Harald Welte gerrit-no-reply at lists.osmocom.orgHarald Welte has submitted this change and it was merged. ( https://gerrit.osmocom.org/10772 ) Change subject: core/utils.h: move includes to the top ...................................................................... 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 --- M include/osmocom/core/utils.h 1 file changed, 2 insertions(+), 3 deletions(-) Approvals: Jenkins Builder: Verified Harald Welte: Looks good to me, approved diff --git a/include/osmocom/core/utils.h b/include/osmocom/core/utils.h index 10063cb..976d4a8 100644 --- a/include/osmocom/core/utils.h +++ b/include/osmocom/core/utils.h @@ -1,6 +1,8 @@ #pragma once #include <stdbool.h> +#include <stdint.h> +#include <stdio.h> #include <osmocom/core/backtrace.h> #include <osmocom/core/talloc.h> @@ -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 <stdint.h> -#include <stdio.h> - /*! A mapping between human-readable string and numeric value */ struct value_string { unsigned int value; /*!< numeric value */ -- To view, visit https://gerrit.osmocom.org/10772 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: libosmocore Gerrit-Branch: master Gerrit-MessageType: merged Gerrit-Change-Id: I3f52189d5e8f9afafc39525e95385a085f8f850a Gerrit-Change-Number: 10772 Gerrit-PatchSet: 1 Gerrit-Owner: Vadim Yanitskiy <axilirator at gmail.com> Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org> Gerrit-Reviewer: Jenkins Builder (1000002) -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180904/f2db160b/attachment.htm>