summaryrefslogblamecommitdiffstats
path: root/spec/rtems/basedefs/if/weak.yml
blob: 765db5484b104de1a7760d1fac3600e9cc01de84 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                                                     
        

                                                                          
           
                                                  
           
             

                 
                                 
               
                                         
              

                                                                          
                
                 




                           
            

                
               
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
brief: |
  Tells the compiler in a function definition that this function should be
  weak.
copyrights:
- Copyright (C) 2020 embedded brains GmbH & Co. KG
definition:
  default: ''
  variants:
  - definition: |
      __attribute__(( __weak__ ))
    enabled-by:
    - defined(${/compiler/if/gnuc:/name})
description: |
  Use this attribute for function definitions.  Do not use it for function
  declarations.
enabled-by: true
index-entries: []
interface-type: define
links:
- role: interface-placement
  uid: header
- role: interface-ingroup
  uid: group
name: RTEMS_WEAK
notes: null
type: interface