mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-18 23:30:30 +01:00
mesa/program: consistently use ifndef guards over pragma once
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Acked-by: Vedran Miletić <vedran@miletic.net> Acked-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com> Reviewed-by: Edward O'Callaghan <funfunctor@folklore1984.net>
This commit is contained in:
parent
f66fe28d9f
commit
43a9ca8eb4
4 changed files with 9 additions and 4 deletions
|
|
@ -21,7 +21,8 @@
|
|||
* DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
#ifndef IR_TO_MESA_H
|
||||
#define IR_TO_MESA_H
|
||||
|
||||
#include "main/glheader.h"
|
||||
|
||||
|
|
@ -51,3 +52,5 @@ _mesa_associate_uniform_storage(struct gl_context *ctx,
|
|||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* IR_TO_MESA_H */
|
||||
|
|
|
|||
|
|
@ -28,7 +28,6 @@
|
|||
* \author Ian Romanick <ian.d.romanick@intel.com>
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifndef PROG_PARAMETER_LAYOUT_H
|
||||
#define PROG_PARAMETER_LAYOUT_H
|
||||
|
|
|
|||
|
|
@ -21,7 +21,6 @@
|
|||
* IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
#ifndef PROG_TO_NIR_H
|
||||
#define PROG_TO_NIR_H
|
||||
|
||||
|
|
|
|||
|
|
@ -20,7 +20,9 @@
|
|||
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
* DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#ifndef PROGRAM_PARSER_H
|
||||
#define PROGRAM_PARSER_H
|
||||
|
||||
#include "main/config.h"
|
||||
#include "program/prog_parameter.h"
|
||||
|
|
@ -288,3 +290,5 @@ extern int _mesa_parse_instruction_suffix(const struct asm_parser_state *state,
|
|||
const char *suffix, struct prog_instruction *inst);
|
||||
|
||||
/*@}*/
|
||||
|
||||
#endif /* PROGRAM_PARSER_H */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue