git: 3aed5ddb8b25 - main - rtld-elf/libmap.h: add include guard
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 18 Sep 2022 22:49:58 UTC
The branch main has been updated by kib:
URL: https://cgit.FreeBSD.org/src/commit/?id=3aed5ddb8b25af59ffe4f1d50f0d13e49a01e816
commit 3aed5ddb8b25af59ffe4f1d50f0d13e49a01e816
Author: Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2022-09-18 22:05:06 +0000
Commit: Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2022-09-18 22:49:41 +0000
rtld-elf/libmap.h: add include guard
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
---
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