summaryrefslogtreecommitdiffstats
path: root/spec/rtems/basedefs/req/unused-2.yml
blob: 0edfe064c111c164b8b25bc08bc53648233e34b3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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 type
  (including a union or a struct),
  the ${../if/unused:/name} macro shall prevent the compiler from emitting
  a warning if variables of this type are not used.
type: requirement