[edk2-devel] [edk2-CCodingStandardsSpecification PATCH 1/1] Function example in Chapter 5 C Programming has extraneous semicolon

Rebecca Cran rebecca at nuviainc.com
Wed Dec 9 15:16:26 UTC 2020


https://github.com/tianocore-docs/edk2-CCodingStandardsSpecification/issues/1

"Section 5.7.1.10, there is a semicolon after the function paramters.
Probably a copy-paste error from the header file."

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Rebecca Cran <rebecca at nuviainc.com>
---
 5_source_files/57_c_programming.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/5_source_files/57_c_programming.md b/5_source_files/57_c_programming.md
index 8b9db584eea7..8b4111bfac29 100644
--- a/5_source_files/57_c_programming.md
+++ b/5_source_files/57_c_programming.md
@@ -102,7 +102,7 @@ FooName (
   IN UINTN      Arg2, OPTIONAL
   OUT UINTN     *Arg3,
   IN OUT UINTN  *Arg4
-  );
+  )
 {
   UINTN Local;
   ...
-- 
2.26.2



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#68551): https://edk2.groups.io/g/devel/message/68551
Mute This Topic: https://groups.io/mt/78831194/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-





More information about the edk2-devel-archive mailing list