aboutsummaryrefslogtreecommitdiffstats
path: root/lib/fosphor/cl_compat.h
diff options
context:
space:
mode:
authorSylvain Munaut <tnt@246tNt.com>2021-01-08 12:11:05 +0100
committerSylvain Munaut <tnt@246tNt.com>2021-01-08 17:29:58 +0100
commit76c33d41f72150203423be2bd0212400b15a4955 (patch)
tree6026ea0c675076723b75dbb734ff073aeba823d8 /lib/fosphor/cl_compat.h
parentdefdd4aca6cd157ccc3b10ea16b5b4f552f34b96 (diff)
fosphor: Use #pragma once instead of old guard style
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Diffstat (limited to 'lib/fosphor/cl_compat.h')
-rw-r--r--lib/fosphor/cl_compat.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/fosphor/cl_compat.h b/lib/fosphor/cl_compat.h
index afff629..f4a54a6 100644
--- a/lib/fosphor/cl_compat.h
+++ b/lib/fosphor/cl_compat.h
@@ -19,8 +19,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef __FOSPHOR_CL_COMPAT_H__
-#define __FOSPHOR_CL_COMPAT_H__
+#pragma once
/*! \ingroup cl
* @{
@@ -103,5 +102,3 @@ void cl_compat_check_platform(cl_platform_id pl_id);
/*! @} */
-
-#endif /* __FOSPHOR_CL_COMPAT_H__ */