From df022702c41680e99709793f659955a0bd52ae07 Mon Sep 17 00:00:00 2001 From: Felipe Wu <fsiw15@inf.ufpr.br> Date: Mon, 12 Dec 2016 09:36:35 -0200 Subject: [PATCH] Issue #40: Repara a falta de #pragma once nos .h Signed-off-by: Felipe Wu <fsiw15@inf.ufpr.br> --- include/agent/linux/get_disks_info.h | 1 + include/agent/windows/get_macaddr.h | 1 + include/agent/windows/get_machine_type.h | 1 + 3 files changed, 3 insertions(+) diff --git a/include/agent/linux/get_disks_info.h b/include/agent/linux/get_disks_info.h index 7a74943b..d417a19e 100644 --- a/include/agent/linux/get_disks_info.h +++ b/include/agent/linux/get_disks_info.h @@ -1,3 +1,4 @@ +#pragma once struct disk { std::string model; long long size; diff --git a/include/agent/windows/get_macaddr.h b/include/agent/windows/get_macaddr.h index 64ffc47f..511d462a 100644 --- a/include/agent/windows/get_macaddr.h +++ b/include/agent/windows/get_macaddr.h @@ -1,3 +1,4 @@ +#pragma once #include <stdio.h> #include <Windows.h> #include <Iphlpapi.h> diff --git a/include/agent/windows/get_machine_type.h b/include/agent/windows/get_machine_type.h index c5793ca0..05b5139b 100644 --- a/include/agent/windows/get_machine_type.h +++ b/include/agent/windows/get_machine_type.h @@ -1,3 +1,4 @@ +#pragma once #define _WIN32_WINNT 0x0500 #include <windows.h> #include <stdio.h> -- GitLab