summaryrefslogtreecommitdiffstats
path: root/spec/rtems/basedefs/if/alloc-size.yml
diff options
context:
space:
mode:
Diffstat (limited to 'spec/rtems/basedefs/if/alloc-size.yml')
-rw-r--r--spec/rtems/basedefs/if/alloc-size.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/rtems/basedefs/if/alloc-size.yml b/spec/rtems/basedefs/if/alloc-size.yml
index 85e9eb05..2926d745 100644
--- a/spec/rtems/basedefs/if/alloc-size.yml
+++ b/spec/rtems/basedefs/if/alloc-size.yml
@@ -8,7 +8,7 @@ definition:
default: ''
variants:
- definition: |
- __attribute__((__alloc_size__(_index)))
+ __attribute__(( __alloc_size__( ${.:/params[0]/name} ) ))
enabled-by:
- defined(${/compiler/if/gnuc:/name})
description: null