From 5e39be78999abc23715236aef1afa7c22446de74 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Fri, 30 Sep 2022 13:20:46 +0200 Subject: spec: Unify interface functions and macros --- spec/rtems/basedefs/if/predict-false.yml | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) (limited to 'spec/rtems/basedefs/if/predict-false.yml') diff --git a/spec/rtems/basedefs/if/predict-false.yml b/spec/rtems/basedefs/if/predict-false.yml index 56de4325..9e89018f 100644 --- a/spec/rtems/basedefs/if/predict-false.yml +++ b/spec/rtems/basedefs/if/predict-false.yml @@ -5,11 +5,19 @@ brief: | copyrights: - Copyright (C) 2018 embedded brains GmbH (http://www.embedded-brains.de) definition: - default: | - ( ${.:/params[0]/name} ) + default: + attributes: null + body: | + ( ${.:/params[0]/name} ) + params: [] + return: null variants: - - definition: | - ${/compiler/if/builtin-expect:/name}( ( ${.:/params[0]/name} ), 0 ) + - definition: + attributes: null + body: | + ${/compiler/if/builtin-expect:/name}( ( ${.:/params[0]/name} ), 0 ) + params: [] + return: null enabled-by: - defined(${/compiler/if/gnuc:/name}) description: null -- cgit v1.2.3