tools/testing/selftests/proc: replace "pragma once" with include guard
Subsystems (2)
PATCH 1/1 tools/testing/selftests/proc: replace "pragma once" with include guard
Signed-off-by Benjamin Lowry <[email protected]>
--- tools/testing/selftests/proc/proc.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
tools/testing/selftests/proc/proc.h +4 -1
@@ -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
Signature · 1 line
2.24.1