diff options
author | Sylvain Munaut <tnt@246tNt.com> | 2021-01-08 12:11:05 +0100 |
---|---|---|
committer | Sylvain Munaut <tnt@246tNt.com> | 2021-01-08 17:29:58 +0100 |
commit | 76c33d41f72150203423be2bd0212400b15a4955 (patch) | |
tree | 6026ea0c675076723b75dbb734ff073aeba823d8 /lib/fosphor/gl.h | |
parent | defdd4aca6cd157ccc3b10ea16b5b4f552f34b96 (diff) |
fosphor: Use #pragma once instead of old guard style
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Diffstat (limited to 'lib/fosphor/gl.h')
-rw-r--r-- | lib/fosphor/gl.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/fosphor/gl.h b/lib/fosphor/gl.h index d248278..211e2c5 100644 --- a/lib/fosphor/gl.h +++ b/lib/fosphor/gl.h @@ -19,8 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#ifndef __FOSPHOR_GL_H__ -#define __FOSPHOR_GL_H__ +#pragma once /*! \defgroup gl * @{ @@ -52,5 +51,3 @@ void fosphor_gl_refresh(struct fosphor *self); void fosphor_gl_draw(struct fosphor *self, struct fosphor_render *render); /*! @} */ - -#endif /* __FOSPHOR_GL_H__ */ |