From 95ecfc8ea0629801ae1f8119f3be0b3526e6b147 Mon Sep 17 00:00:00 2001 From: Alexandru Fazakas Date: Thu, 15 Mar 2018 21:17:27 +0200 Subject: general: Remove include guards in favor of pragma once The traditional include guards are not as easy to handle and require extra thought into the names. Pragma once is an easier, more contributor friendly approach. Closes https://gitlab.gnome.org/GNOME/nautilus/issues/294 general: Remove include guards in favor of pragma once The traditional include guards are not as easy to handle and require extra thought into the names. Pragma once is an easier, more contributor friendly approach. Closes https://gitlab.gnome.org/GNOME/nautilus/issues/294 --- src/nautilus-error-reporting.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src/nautilus-error-reporting.h') diff --git a/src/nautilus-error-reporting.h b/src/nautilus-error-reporting.h index e60c06f71..1d9a2292a 100644 --- a/src/nautilus-error-reporting.h +++ b/src/nautilus-error-reporting.h @@ -21,8 +21,7 @@ Authors: John Sullivan */ -#ifndef NAUTILUS_ERROR_REPORTING_H -#define NAUTILUS_ERROR_REPORTING_H +#pragma once #include #include "nautilus-file.h" @@ -51,6 +50,4 @@ void nautilus_report_error_setting_group (NautilusFile *file, void nautilus_rename_file (NautilusFile *file, const char *new_name, NautilusFileOperationCallback callback, - gpointer callback_data); - -#endif /* NAUTILUS_ERROR_REPORTING_H */ + gpointer callback_data); \ No newline at end of file -- cgit v1.2.1