mirror of
https://github.com/tianocore/edk2
synced 2026-08-27 00:23:19 -04:00
Fix use '#pragma once' instead of a traditional #ifndef/#define include guard
This commit is contained in:
parent
8aba5d8bce
commit
e11dee64c9
2 changed files with 2 additions and 8 deletions
|
|
@ -5,8 +5,7 @@
|
|||
SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
**/
|
||||
|
||||
#ifndef MOCK_IPMI_COMMAND_LIB_H_
|
||||
#define MOCK_IPMI_COMMAND_LIB_H_
|
||||
#pragma once
|
||||
|
||||
#include <Library/GoogleTestLib.h>
|
||||
#include <Library/FunctionMockLib.h>
|
||||
|
|
@ -359,5 +358,3 @@ struct MockIpmiCommandLib {
|
|||
)
|
||||
);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -5,8 +5,7 @@
|
|||
SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
**/
|
||||
|
||||
#ifndef MOCK_IPMI_LIB_H_
|
||||
#define MOCK_IPMI_LIB_H_
|
||||
#pragma once
|
||||
|
||||
#include <Library/GoogleTestLib.h>
|
||||
#include <Library/FunctionMockLib.h>
|
||||
|
|
@ -31,5 +30,3 @@ struct MockIpmiLib {
|
|||
)
|
||||
);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue