[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20200130031404.30136-1-ben@ben.gmbh>
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