diff options
author | Markus Armbruster <armbru@redhat.com> | 2016-06-29 10:12:57 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2016-07-12 16:19:16 +0200 |
commit | 121d07125bb6d7079c7ebafdd3efe8c3a01cc440 (patch) | |
tree | f6201b5906fcb3bfd73aeb1ce74e104249b41c27 /qga | |
parent | 85aad98a0e0a93c146fd4c306114f23824a3db5f (diff) |
Clean up header guards that don't match their file name
Header guard symbols should match their file name to make guard
collisions less likely. Offenders found with
scripts/clean-header-guards.pl -vn.
Cleaned up with scripts/clean-header-guards.pl, followed by some
renaming of new guard symbols picked by the script to better ones.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'qga')
-rw-r--r-- | qga/service-win32.h | 5 | ||||
-rw-r--r-- | qga/vss-win32/vss-common.h | 4 |
2 files changed, 5 insertions, 4 deletions
diff --git a/qga/service-win32.h b/qga/service-win32.h index 3b9e87024b..89e99dfede 100644 --- a/qga/service-win32.h +++ b/qga/service-win32.h @@ -10,8 +10,9 @@ * This work is licensed under the terms of the GNU GPL, version 2 or later. * See the COPYING file in the top-level directory. */ -#ifndef QGA_SERVICE_H -#define QGA_SERVICE_H + +#ifndef QGA_SERVICE_WIN32_H +#define QGA_SERVICE_WIN32_H #include <windows.h> diff --git a/qga/vss-win32/vss-common.h b/qga/vss-win32/vss-common.h index 1ffde0ff94..c81a8564b2 100644 --- a/qga/vss-win32/vss-common.h +++ b/qga/vss-win32/vss-common.h @@ -10,8 +10,8 @@ * See the COPYING file in the top-level directory. */ -#ifndef VSS_WIN32_H -#define VSS_WIN32_H +#ifndef VSS_COMMON_H +#define VSS_COMMON_H #define __MIDL_user_allocate_free_DEFINED__ #include <windows.h> |