Prefer using pragma once

Similar to what we did in mutter

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3507>
This commit is contained in:
Bilal Elmoussaoui
2024-10-16 13:17:21 +02:00
parent aa0f2c4915
commit 5cbd847c84
98 changed files with 102 additions and 393 deletions

View File

@ -1,6 +1,5 @@
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
#ifndef __SHELL_PERF_LOG_H__
#define __SHELL_PERF_LOG_H__
#pragma once
#include <glib-object.h>
#include <gio/gio.h>
@ -71,5 +70,3 @@ gboolean shell_perf_log_dump_log (ShellPerfLog *perf_log,
GError **error);
G_END_DECLS
#endif /* __SHELL_PERF_LOG_H__ */