From ebfcaf5081c98d43f932e6299c75d70feb4e328f Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Sat, 25 May 2019 15:59:55 -0500 Subject: [PATCH] normalize include guards. closes #33 --- libpkgconf/bsdstubs.h | 4 ++-- libpkgconf/iter.h | 4 ++-- libpkgconf/libpkgconf-api.h | 4 ++-- libpkgconf/stdinc.h | 4 ++-- libpkgconf/win-dirent.h | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/libpkgconf/bsdstubs.h b/libpkgconf/bsdstubs.h index 8f37b70..a6b3162 100644 --- a/libpkgconf/bsdstubs.h +++ b/libpkgconf/bsdstubs.h @@ -13,8 +13,8 @@ * from the use of this software. */ -#ifndef __BSDSTUBS_H__ -#define __BSDSTUBS_H__ +#ifndef LIBPKGCONF_BSDSTUBS_H +#define LIBPKGCONF_BSDSTUBS_H #include diff --git a/libpkgconf/iter.h b/libpkgconf/iter.h index d90b402..f871234 100644 --- a/libpkgconf/iter.h +++ b/libpkgconf/iter.h @@ -13,8 +13,8 @@ * from the use of this software. */ -#ifndef PKGCONF__ITER_H -#define PKGCONF__ITER_H +#ifndef LIBPKGCONF_ITER_H +#define LIBPKGCONF_ITER_H #ifdef __cplusplus extern "C" { diff --git a/libpkgconf/libpkgconf-api.h b/libpkgconf/libpkgconf-api.h index d6ba409..e76f31e 100644 --- a/libpkgconf/libpkgconf-api.h +++ b/libpkgconf/libpkgconf-api.h @@ -1,5 +1,5 @@ -#ifndef PKGCONFG_API -#define PKGCONFG_API +#ifndef LIBPKGCONF_LIBPKGCONF_API_H +#define LIBPKGCONF_LIBPKGCONF_API_H /* Makefile.am specifies visibility using the libtool option -export-symbols-regex '^pkgconf_' * Unfortunately, that is not available when building with cmake, so use attributes instead, diff --git a/libpkgconf/stdinc.h b/libpkgconf/stdinc.h index ca3a7dc..6858503 100644 --- a/libpkgconf/stdinc.h +++ b/libpkgconf/stdinc.h @@ -13,8 +13,8 @@ * from the use of this software. */ -#ifndef __STDINC_H -#define __STDINC_H +#ifndef LIBPKGCONF_STDINC_H +#define LIBPKGCONF_STDINC_H #include #include diff --git a/libpkgconf/win-dirent.h b/libpkgconf/win-dirent.h index ad9d2b3..8992218 100644 --- a/libpkgconf/win-dirent.h +++ b/libpkgconf/win-dirent.h @@ -7,8 +7,8 @@ * under the MIT license. For all details and documentation, see * https://github.com/tronkko/dirent */ -#ifndef DIRENT_H -#define DIRENT_H +#ifndef LIBPKGCONF_DIRENT_H +#define LIBPKGCONF_DIRENT_H /* * Include windows.h without Windows Sockets 1.1 to prevent conflicts with