fix "use of single line comments(s) //"

Replace "//" with '/*','*/' couples.

V1->V2:
    Correct comment "Tracked-On" format

V2->V3:
    Remove "/* ==...===*/" comment

Tracked-On: #861
Signed-off-by: Huihuang Shi <huihuang.shi@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
Huihuang Shi
2018-10-17 11:32:28 +08:00
committed by wenlingz
parent 75b03bef3b
commit 4620b935de
5 changed files with 9 additions and 11 deletions

View File

@@ -42,8 +42,6 @@
struct multiboot_info;
extern struct multiboot_info mbi;
// ========================================================================
/*
* Multiboot header structure.
*/
@@ -79,7 +77,6 @@ struct multiboot_header {
*/
extern struct multiboot_header *Multiboot_Header;
// ========================================================================
/*
* Multiboot information structure.
*/
@@ -179,6 +176,4 @@ struct multiboot_module {
#endif /* !defined(_LOCORE) */
// ========================================================================
#endif /* _MULTIBOOT_H */

View File

@@ -43,7 +43,7 @@
#include <efilib.h>
#include "stdlib.h"
#define DOS_FILE_MAGIC_NUMBER 0x5A4D //"MZ"
#define DOS_FILE_MAGIC_NUMBER 0x5A4D /* "MZ" */
struct DosFileHeader {
uint16_t mMagic;
uint16_t LastSize;
@@ -68,7 +68,7 @@ struct DosFileHeader {
#define IMAGE_FILE_MACHINE_I386 0x14c
#define IMAGE_FILE_MACHINE_AMD64 0x8664
#define PE_FILE_MAGIC_NUMBER 0x00004550 //"PE\0\0"
#define PE_FILE_MAGIC_NUMBER 0x00004550 /* "PE\0\0" */
struct PeHeader {
uint32_t mMagic;
uint16_t mMachine;