summaryrefslogtreecommitdiffstats
path: root/spec/if/rtems/basedefs/const.yml
blob: f5f3eab269b82beaac8eeb6db3e852499ce2b347 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
brief: |
  Tells the compiler in a function declaration that this function has no effect
  except the return value and that the return value depends only on the value
  of parameters.
copyrights:
- Copyright (C) 2019 embedded brains GmbH (http://www.embedded-brains.de)
definition:
  default: ''
  variants:
  - definition: |
      __attribute__((__const__))
    enabled-by:
    - defined(${/if/compiler/gnuc:/name})
description: null
enabled-by: true
interface-type: define
links:
- role: interface-placement
  uid: header
- role: interface-ingroup
  uid: group
name: RTEMS_CONST
notes: null
type: interface