From: Uwe Hermann Date: Sat, 4 Feb 2012 09:41:30 +0000 (+0100) Subject: Project-wide consistent naming for #include guards. X-Git-Tag: libsigrokdecode-0.1.0~63 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=3b5839d56023d6105ea58766313f26c15f6d0877;p=libsigrokdecode.git Project-wide consistent naming for #include guards. Document the naming scheme in HACKING. --- diff --git a/sigrokdecode-internal.h b/sigrokdecode-internal.h index 94c0c49..5ff080b 100644 --- a/sigrokdecode-internal.h +++ b/sigrokdecode-internal.h @@ -18,8 +18,8 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ -#ifndef SIGROKDECODE_SIGROKDECODE_INTERNAL_H -#define SIGROKDECODE_SIGROKDECODE_INTERNAL_H +#ifndef LIBSIGROKDECODE_SIGROKDECODE_INTERNAL_H +#define LIBSIGROKDECODE_SIGROKDECODE_INTERNAL_H // #include // #include diff --git a/sigrokdecode.h b/sigrokdecode.h index 947e0c0..1761521 100644 --- a/sigrokdecode.h +++ b/sigrokdecode.h @@ -19,8 +19,8 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ -#ifndef SIGROKDECODE_SIGROKDECODE_H -#define SIGROKDECODE_SIGROKDECODE_H +#ifndef LIBSIGROKDECODE_SIGROKDECODE_H +#define LIBSIGROKDECODE_SIGROKDECODE_H #include /* First, so we avoid a _POSIX_C_SOURCE warning. */ #include