summaryrefslogtreecommitdiffstats
path: root/man7
diff options
context:
space:
mode:
authorAlejandro Colomar <alx@kernel.org>2024-03-26 01:46:38 +0100
committerAlejandro Colomar <alx@kernel.org>2024-03-26 02:07:02 +0100
commitcc20b5c061638abad254367628f9784d8de78f15 (patch)
tree580a123cffd4cec79f0d829c4075eb7a5d727d79 /man7
parent72f675cbf5b1a0f82114b2f303beb3d114e7a295 (diff)
man*/: EXAMPLES: Add include guards
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Diffstat (limited to 'man7')
-rw-r--r--man7/unix.74
1 files changed, 4 insertions, 0 deletions
diff --git a/man7/unix.7 b/man7/unix.7
index 869a3d543..642b0b37e 100644
--- a/man7/unix.7
+++ b/man7/unix.7
@@ -960,9 +960,13 @@ $
/*
* File connection.h
*/
+#ifndef CONNECTION_H
+#define CONNECTION_H
\&
#define SOCKET_NAME "/tmp/9Lq7BNBnBycd6nxy.socket"
#define BUFFER_SIZE 12
+\&
+#endif // include guard
.EE
.\" SRC END
.P