cleanup: Switch to pragma once

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3157>
This commit is contained in:
Bilal Elmoussaoui
2023-07-21 15:37:20 +02:00
committed by Marge Bot
parent d291d4a733
commit ead9a3024c
721 changed files with 782 additions and 3008 deletions

View File

@ -31,13 +31,12 @@
* Robert Bragg <robert@linux.intel.com>
*/
#pragma once
#if !defined(__COGL_H_INSIDE__) && !defined(COGL_COMPILATION)
#error "Only <cogl/cogl.h> can be included directly."
#endif
#ifndef __COGL_ATTRIBUTE_BUFFER_H__
#define __COGL_ATTRIBUTE_BUFFER_H__
/* We forward declare the CoglAttributeBuffer type here to avoid some circular
* dependency issues with the following headers.
*/
@ -137,5 +136,3 @@ cogl_is_attribute_buffer (void *object);
G_END_DECLS
#endif /* __COGL_ATTRIBUTE_BUFFER_H__ */