summaryrefslogtreecommitdiffstats
path: root/spec/rtems/basedefs/req/declare-global-symbol-0.yml
blob: 079a89c6bd401f79c292954312601cce334a6e5a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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/declare-global-symbol
rationale: |
  See also ${../if/define-global-symbol:/name}.
references: []
requirement-type: functional
text: |
  When the macro ${../if/declare-global-symbol:/name} appears at file scope,
  and argument ${../if/declare-global-symbol:/params[0]/name} after undergoing
  C pre-processor substitutions results in a valid C identifier name,
  and this identifier name is not yet defined at file scope,
  the macro ${../if/declare-global-symbol:/name} shall apply all possible C
  pre-processor substitutions to its argument value
  before it results in code which declares a global symbol
  with the respective name.
type: requirement