diff options
Diffstat (limited to 'spec/rtems/basedefs/if/declare-global-symbol.yml')
-rw-r--r-- | spec/rtems/basedefs/if/declare-global-symbol.yml | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/spec/rtems/basedefs/if/declare-global-symbol.yml b/spec/rtems/basedefs/if/declare-global-symbol.yml new file mode 100644 index 00000000..b46bc08d --- /dev/null +++ b/spec/rtems/basedefs/if/declare-global-symbol.yml @@ -0,0 +1,29 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +brief: | + Declares a global symbol with the specified name. +copyrights: +- Copyright (C) 2018 embedded brains GmbH (http://www.embedded-brains.de) +definition: + default: | + extern char _name[] + variants: [] +description: | + This macro must be placed at file scope. +enabled-by: true +interface-type: macro +links: +- role: interface-placement + uid: header +- role: interface-ingroup + uid: group +name: RTEMS_DECLARE_GLOBAL_SYMBOL +notes: null +params: +- description: | + is the name of the global symbol. It shall be a valid designator. + dir: null + name: _name +return: + return: null + return-values: [] +type: interface |