lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Wed, 29 Jan 2020 21:14:06 -0600
From:   Benjamin Lowry <ben@....gmbh>
To:     linux-kernel@...r.kernel.org
Cc:     Benjamin Lowry <ben@....gmbh>
Subject: [PATCH] tools/testing/selftests/proc: replace "pragma once" with include guard

Signed-off-by: Benjamin Lowry <ben@....gmbh>
---
 tools/testing/selftests/proc/proc.h | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/tools/testing/selftests/proc/proc.h b/tools/testing/selftests/proc/proc.h
index b7d57ea40237..627f99c3740d 100644
--- a/tools/testing/selftests/proc/proc.h
+++ b/tools/testing/selftests/proc/proc.h
@@ -1,4 +1,5 @@
-#pragma once
+#ifndef _PROC_H
+#define _PROC_H
 #undef NDEBUG
 #include <assert.h>
 #include <dirent.h>
@@ -49,3 +50,5 @@ static struct dirent *xreaddir(DIR *d)
 	assert(de || errno == 0);
 	return de;
 }
+
+#endif
-- 
2.24.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ