Avoid the discouraged use of pragma once and a missing guard for
blorp_genX_exec.h.
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Chad Versace <chadversary@chromium.org>
* IN THE SOFTWARE.
*/
-#pragma once
+#ifndef BLORP_H
+#define BLORP_H
#include <stdint.h>
#include <stdbool.h>
#ifdef __cplusplus
} /* end extern "C" */
#endif /* __cplusplus */
+
+#endif /* BLORP_H */
* IN THE SOFTWARE.
*/
+#ifndef BLORP_GENX_EXEC_H
+#define BLORP_GENX_EXEC_H
+
#include "blorp_priv.h"
#include "common/gen_device_info.h"
#include "common/gen_sample_positions.h"
prim.InstanceCount = params->num_layers;
}
}
+
+#endif /* BLORP_GENX_EXEC_H */
* IN THE SOFTWARE.
*/
-#pragma once
+#ifndef BLORP_PRIV_H
+#define BLORP_PRIV_H
#include <stdint.h>
#ifdef __cplusplus
} /* end extern "C" */
#endif /* __cplusplus */
+
+#endif /* BLORP_PRIV_H */