Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Sep 2022 11:18:59 GMT
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: eb9f61ee16de - stable/13 - rtld-elf/libmap.h: add include guard
Message-ID:  <202209251118.28PBIxBB035045@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202209251118.28PBIxBB035045>