summaryrefslogblamecommitdiffstats
path: root/spec/rtems/basedefs/if/const.yml
blob: 88c4a4c5dece5463c5a6981a3ff0620ed88eac04 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                     
        


                                                                               


                                                                         
             



                                
                                         

                 
                 




                           
            

                 
               
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(${/compiler/if/gnuc:/name})
description: null
enabled-by: true
index-entries: []
interface-type: define
links:
- role: interface-placement
  uid: header
- role: interface-ingroup
  uid: group
name: RTEMS_CONST
notes: null
type: interface