[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
* LICENSE: GPL - See COPYING in the top level directory
* FILE: dmilib.h
* PURPOSE: SMBIOS table parsing functions
* PROGRAMMERS: Timo Kreuzer (timo.kreuzer@reactos.org)
*/
#ifndef DMILIB_H
#define DMILIB_H
#pragma once
enum _ID_STRINGS
{
@ -35,5 +33,3 @@ ParseSMBiosTables(
_In_reads_bytes_(TableSize) PVOID SMBiosTables,
_In_ ULONG TableSize,
_Inout_updates_(ID_STRINGS_MAX) PCHAR * Strings);
#endif /* DMILIB_H */

View file

@ -5,8 +5,7 @@
* COPYRIGHT: Copyright 2018 Stanislav Motylkov
*/
#ifndef UDMIHELP_H
#define UDMIHELP_H
#pragma once
#ifdef __cplusplus
extern "C" {
@ -36,5 +35,3 @@ FreeSMBiosData(
#ifdef __cplusplus
} // extern "C"
#endif
#endif /* UDMIHELP_H */