From de3fbaebe6f00a5109f4a107372d0b059f27de51 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Tue, 24 Oct 2017 13:58:24 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10896 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/common/oslib/include/chfactory.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'os/common/oslib/include/chfactory.h') diff --git a/os/common/oslib/include/chfactory.h b/os/common/oslib/include/chfactory.h index c00fe21a1..7ac414719 100644 --- a/os/common/oslib/include/chfactory.h +++ b/os/common/oslib/include/chfactory.h @@ -353,11 +353,9 @@ extern "C" { * @param[in] dep pointer to the element field of the object * @return The duplicated object reference. * - * @iclass + * @api */ -static inline dyn_element_t *chFactoryDuplicateReferenceI(dyn_element_t *dep) { - - chDbgCheckClassI(); +static inline dyn_element_t *chFactoryDuplicateReference(dyn_element_t *dep) { dep->refs++; -- cgit v1.2.3