summaryrefslogtreecommitdiffstats
path: root/spec/rtems/basedefs/if/warn-unused-result.yml
blob: 853c8ea44284609ed2baca7b55a6116083a14363 (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 declaration that the result of this function should
  be used.
copyrights:
- Copyright (C) 2018 embedded brains GmbH & Co. KG
definition:
  default: ''
  variants:
  - definition: |
      __attribute__(( __warn_unused_result__ ))
    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_WARN_UNUSED_RESULT
notes: null
type: interface