diff options
author | Emmanuele Bassi <ebassi@gnome.org> | 2021-10-11 12:40:04 +0100 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2021-10-13 13:01:56 +0100 |
commit | a7f1500e510373f9d0b404406281586a808a89a6 (patch) | |
tree | 56b2cedc4f919445db34bccca479b27974c0e379 /libgweather/gweather-version.h.in | |
parent | 765b565548e85da899dee584ffe44606c81f1dd9 (diff) | |
download | libgweather-a7f1500e510373f9d0b404406281586a808a89a6.tar.gz |
Clean up the header files
- Use a consistent coding style
- Use #pragma once for the inclusion guard
- Use SPDX license and copyright fields
Diffstat (limited to 'libgweather/gweather-version.h.in')
-rw-r--r-- | libgweather/gweather-version.h.in | 22 |
1 files changed, 3 insertions, 19 deletions
diff --git a/libgweather/gweather-version.h.in b/libgweather/gweather-version.h.in index c5bc44c..ffa73d5 100644 --- a/libgweather/gweather-version.h.in +++ b/libgweather/gweather-version.h.in @@ -1,28 +1,14 @@ /* gweather-version.h - libgweather versioning information * - * This file is part of libgweather - * Copyright (C) 2014 Javier Jardón <jjardon@gnome.org> - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library. If not, see <https://www.gnu.org/licenses/>. + * SPDX-FileCopyrightText: 2014 Javier Jardón <jjardon@gnome.org> + * SPDX-License-Identifier: LGPL-2.0-or-later * * Based on json-version from json-glib * Authored by Emmanuele Bassi <ebassi@gnome.org> * Adapted for libgweather by Javier Jardón <jjardon@gnome.org> */ -#ifndef __GWEATHER_VERSION_H__ -#define __GWEATHER_VERSION_H__ +#pragma once #if !(defined(IN_GWEATHER_H) || defined(GWEATHER_COMPILATION)) #error "gweather-version.h must not be included individually, include gweather.h instead" @@ -102,5 +88,3 @@ (GWEATHER_MAJOR_VERSION == (major) && GWEATHER_MINOR_VERSION > (minor)) || \ (GWEATHER_MAJOR_VERSION == (major) && GWEATHER_MINOR_VERSION == (minor) && \ GWEATHER_MICRO_VERSION >= (micro))) - -#endif /* __GWEATHER_VERSION_H__ */ |