mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 09:34:43 +00:00
[DMILIB][UDMIHELP] Favor pragma once (#5472)
This commit is contained in:
parent
7b52c287d4
commit
e387e24611
2 changed files with 2 additions and 9 deletions
|
@ -1,13 +1,11 @@
|
||||||
/*
|
/*
|
||||||
* PROJECT: ReactOS DMI/SMBIOS Library
|
* PROJECT: ReactOS DMI/SMBIOS Library
|
||||||
* LICENSE: GPL - See COPYING in the top level directory
|
* LICENSE: GPL - See COPYING in the top level directory
|
||||||
* FILE: dmilib.h
|
|
||||||
* PURPOSE: SMBIOS table parsing functions
|
* PURPOSE: SMBIOS table parsing functions
|
||||||
* PROGRAMMERS: Timo Kreuzer (timo.kreuzer@reactos.org)
|
* PROGRAMMERS: Timo Kreuzer (timo.kreuzer@reactos.org)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef DMILIB_H
|
#pragma once
|
||||||
#define DMILIB_H
|
|
||||||
|
|
||||||
enum _ID_STRINGS
|
enum _ID_STRINGS
|
||||||
{
|
{
|
||||||
|
@ -35,5 +33,3 @@ ParseSMBiosTables(
|
||||||
_In_reads_bytes_(TableSize) PVOID SMBiosTables,
|
_In_reads_bytes_(TableSize) PVOID SMBiosTables,
|
||||||
_In_ ULONG TableSize,
|
_In_ ULONG TableSize,
|
||||||
_Inout_updates_(ID_STRINGS_MAX) PCHAR * Strings);
|
_Inout_updates_(ID_STRINGS_MAX) PCHAR * Strings);
|
||||||
|
|
||||||
#endif /* DMILIB_H */
|
|
||||||
|
|
|
@ -5,8 +5,7 @@
|
||||||
* COPYRIGHT: Copyright 2018 Stanislav Motylkov
|
* COPYRIGHT: Copyright 2018 Stanislav Motylkov
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef UDMIHELP_H
|
#pragma once
|
||||||
#define UDMIHELP_H
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
@ -36,5 +35,3 @@ FreeSMBiosData(
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
} // extern "C"
|
} // extern "C"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* UDMIHELP_H */
|
|
||||||
|
|
Loading…
Reference in a new issue