tests: Use #pragma once consistently

Its the current coding style.
This commit is contained in:
Matthias Clasen 2023-12-20 10:25:41 -05:00
parent 0dcf31292d
commit 0d03e570b0
4 changed files with 5 additions and 19 deletions

View File

@ -1,9 +1,6 @@
#ifndef __FRAME_STATS_H__
#define __FRAME_STATS_H__
#pragma once
#include <gtk/gtk.h>
void frame_stats_add_options (GOptionGroup *group);
void frame_stats_ensure (GtkWindow *window);
#endif /* __FRAME_STATS_H__ */

View File

@ -1,5 +1,4 @@
#ifndef __GTK_GEARS_H__
#define __GTK_GEARS_H__
#pragma once
#include <gtk/gtk.h>
@ -44,5 +43,3 @@ void gtk_gears_set_fps_label (GtkGears *gears,
G_END_DECLS
#endif /* __GTK_GEARS_H__ */

View File

@ -1,5 +1,4 @@
#ifndef __TEST_PRINT_FILE_OPERATION_H__
#define __TEST_PRINT_FILE_OPERATION_H__
#pragma once
#include <gtk/gtk.h>
@ -22,7 +21,6 @@ struct _TestPrintFileOperation
double font_size;
int lines_per_page;
char **lines;
int num_lines;
int num_pages;
@ -36,8 +34,6 @@ struct _TestPrintFileOperationClass
GType test_print_file_operation_get_type (void);
TestPrintFileOperation *test_print_file_operation_new (const char *filename);
void test_print_file_operation_set_font_size (TestPrintFileOperation *op,
double points);
double points);
G_END_DECLS
#endif /* __TEST_PRINT_FILE_OPERATION_H__ */

View File

@ -1,5 +1,4 @@
#ifndef __VARIABLE_H__
#define __VARIABLE_H__
#pragma once
typedef struct
{
@ -19,6 +18,3 @@ void variable_add (Variable *variable,
double variable_mean (Variable *variable);
double variable_standard_deviation (Variable *variable);
void variable_reset (Variable *variable);
#endif /* __VARIABLE_H__ */