summaryrefslogtreecommitdiff
path: root/include/ouroboros/endian.h
diff options
context:
space:
mode:
authorDimitri Staessens <dimitri@ouroboros.rocks>2023-08-27 17:59:20 +0200
committerSander Vrijders <sander@ouroboros.rocks>2023-08-30 17:11:41 +0200
commit3a321cc77e0f6d29167a925dd706fc36e5aa7cdd (patch)
tree38354765060ed72d98b70e084edcfd061271d018 /include/ouroboros/endian.h
parent08332eefba9aa4b08d00e190720de4771081e855 (diff)
downloadouroboros-3a321cc77e0f6d29167a925dd706fc36e5aa7cdd.tar.gz
ouroboros-3a321cc77e0f6d29167a925dd706fc36e5aa7cdd.zip
lib: Move protobuf definitions to pb/ directory
This moves the protobuf definition in the library to a pb/ directory. Also renames the protobuf files and does a quick review of the #define guards in the include library to specify _LIB_ for internal/non-public library headers. Signed-off-by: Dimitri Staessens <dimitri@ouroboros.rocks> Signed-off-by: Sander Vrijders <sander@ouroboros.rocks>
Diffstat (limited to 'include/ouroboros/endian.h')
-rw-r--r--include/ouroboros/endian.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/include/ouroboros/endian.h b/include/ouroboros/endian.h
index 667ccb07..d4fb767a 100644
--- a/include/ouroboros/endian.h
+++ b/include/ouroboros/endian.h
@@ -20,9 +20,8 @@
* Foundation, Inc., http://www.fsf.org/about/contact/.
*/
-#ifndef OUROBOROS_ENDIAN_H
-#define OUROBOROS_ENDIAN_H
-
+#ifndef OUROBOROS_LIB_ENDIAN_H
+#define OUROBOROS_LIB_ENDIAN_H
#if defined(__linux__) || defined(__CYGWIN__) || \
(defined(__MACH__) && !defined(__APPLE__))
@@ -73,4 +72,4 @@
#define hton16(x) htobe16(x)
#define ntoh16(x) betoh16(x)
-#endif /* OUROBOROS_ENDIAN_H */
+#endif /* OUROBOROS_LIB_ENDIAN_H */