summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2012-02-04 10:41:30 +0100
committerUwe Hermann <uwe@hermann-uwe.de>2012-02-05 15:05:13 +0100
commit3b5839d56023d6105ea58766313f26c15f6d0877 (patch)
treeb680116ef1556594802ba1313be060f622d1408d
parent63d62a5c6aa3c66b6b3c0662155752ccb123ee23 (diff)
downloadlibsigrokdecode-3b5839d56023d6105ea58766313f26c15f6d0877.tar.gz
libsigrokdecode-3b5839d56023d6105ea58766313f26c15f6d0877.zip
Project-wide consistent naming for #include guards.
Document the naming scheme in HACKING.
-rw-r--r--sigrokdecode-internal.h4
-rw-r--r--sigrokdecode.h4
2 files changed, 4 insertions, 4 deletions
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 <stdarg.h>
// #include <glib.h>
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 <Python.h> /* First, so we avoid a _POSIX_C_SOURCE warning. */
#include <stdint.h>