Prefer use of `static` C keyword over EDK2 type `STATIC`

A while ago a decision was made on the edk2-devel mailing list that
the `STATIC` EDK2 type should be replaced with the C keyword `static`.

Following further discussion, it was decided to disallow static local
variables to prevent breakage when using GoogleTest.

Update the Coding Specification to match. While here, remove the
outdated section disallowing static functions since they're no longer
a problem.

Bump the revision to 2.4.

Changes from v1 to v2:
  Drop the change to the draft status.
  Add a sentence about static local variables not being allowed.

Rebecca Cran (1):
  Prefer use of `static` C keyword over EDK2 type `STATIC`

 5_source_files/54_code_file_structure.md    | 9 ++-------
 5_source_files/56_declarations_and_types.md | 2 +-
 README.md                                   | 3 ++-
 book.json                                   | 2 +-
 4 files changed, 6 insertions(+), 10 deletions(-)

-- 
2.48.1



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#121066): https://edk2.groups.io/g/devel/message/121066
Mute This Topic: https://groups.io/mt/110968938/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to