diff options
author | Alejandro Colomar <alx@kernel.org> | 2024-03-26 01:46:38 +0100 |
---|---|---|
committer | Alejandro Colomar <alx@kernel.org> | 2024-03-26 02:07:02 +0100 |
commit | cc20b5c061638abad254367628f9784d8de78f15 (patch) | |
tree | 580a123cffd4cec79f0d829c4075eb7a5d727d79 /man2 | |
parent | 72f675cbf5b1a0f82114b2f303beb3d114e7a295 (diff) |
man*/: EXAMPLES: Add include guards
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Diffstat (limited to 'man2')
-rw-r--r-- | man2/shmop.2 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/man2/shmop.2 b/man2/shmop.2 index cbbd821d8..4d31f7a70 100644 --- a/man2/shmop.2 +++ b/man2/shmop.2 @@ -319,6 +319,9 @@ The following header file is included by the "reader" and "writer" programs: \& Licensed under GNU General Public License v2 or later. */ +#ifndef SVSHM_STRING_H +#define SVSHM_STRING_H +\& #include <stdio.h> #include <stdlib.h> #include <sys/sem.h> @@ -336,6 +339,8 @@ union semun { /* Used in calls to semctl() */ }; \& #define MEM_SIZE 4096 +\& +#endif // include guard .EE .\" SRC END .in |