From: Aydın Mercan Date: Mon, 2 Mar 2026 05:35:33 +0000 (+0300) Subject: annotate `isc_region_compare` with the gcc access attribute X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=d470c5e86f293b3077b7baf377a44b17aae6a350;p=thirdparty%2Fbind9.git annotate `isc_region_compare` with the gcc access attribute --- diff --git a/lib/isc/include/isc/region.h b/lib/isc/include/isc/region.h index 4767b5f8900..51d25c5f1e6 100644 --- a/lib/isc/include/isc/region.h +++ b/lib/isc/include/isc/region.h @@ -15,6 +15,7 @@ /*! \file isc/region.h */ +#include #include struct isc_region { @@ -74,6 +75,8 @@ struct isc_consttextregion { } while (0) /*@}*/ +ISC_ATTR_ACCESS(read_only, 1) +ISC_ATTR_ACCESS(read_only, 2) int isc_region_compare(isc_region_t *r1, isc_region_t *r2); /*%<