git: eb9f61ee16de - stable/13 - rtld-elf/libmap.h: add include guard
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 25 Sep 2022 11:18:59 UTC
The branch stable/13 has been updated by kib:
URL: https://cgit.FreeBSD.org/src/commit/?id=eb9f61ee16debb8d16091aef0543a795204ae54b
commit eb9f61ee16debb8d16091aef0543a795204ae54b
Author: Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2022-09-18 22:05:06 +0000
Commit: Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2022-09-25 11:18:24 +0000
rtld-elf/libmap.h: add include guard
(cherry picked from commit 3aed5ddb8b25af59ffe4f1d50f0d13e49a01e816)
---
libexec/rtld-elf/libmap.h | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/libexec/rtld-elf/libmap.h b/libexec/rtld-elf/libmap.h
index a5ba143f211f..6eeed43be05d 100644
--- a/libexec/rtld-elf/libmap.h
+++ b/libexec/rtld-elf/libmap.h
@@ -2,7 +2,12 @@
* $FreeBSD$
*/
+#ifndef LIBMAP_H
+#define LIBMAP_H
+
int lm_init(const char *);
void lm_fini (void);
char * lm_find (const char *, const char *);
char * lm_findn (const char *, const char *, const size_t);
+
+#endif