summaryrefslogtreecommitdiffstats
path: root/spec/rtems/basedefs/req/unused-0.yml
blob: b725f297adb8f00f01dc41397dd76a221147fccb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
SPDX-License-Identifier: CC-BY-SA-4.0
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
enabled-by: true
functional-type: function
links:
- role: interface-function
  uid: ../if/unused
rationale: null
references: []
requirement-type: functional
text: |
  When the code is compiled with the GNU C compiler,
  and the ${../if/unused:/name} macro is attached to a function definition,
  the ${../if/unused:/name} macro shall prevent the compiler from emitting
  a warning if this function is not used.
type: requirement