[DMILIB][UDMIHELP] Favor pragma once (#5472)

This commit is contained in:
Joachim Henze 2023-07-23 22:52:07 +02:00 committed by GitHub
parent 7b52c287d4
commit e387e24611
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 9 deletions

View file

@ -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 */

View file

@ -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 */