diff mbox

[1/1] libsemanage: use a macro prefixed with SEMANAGE to protect dso.h

Message ID 20161115221523.17519-1-nicolas.iooss@m4x.org (mailing list archive)
State Not Applicable
Headers show

Commit Message

Nicolas Iooss Nov. 15, 2016, 10:15 p.m. UTC
Signed-off-by: Nicolas Iooss <nicolas.iooss@m4x.org>
---
 libsemanage/src/dso.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Stephen Smalley Nov. 15, 2016, 10:29 p.m. UTC | #1
On 11/15/2016 05:15 PM, Nicolas Iooss wrote:
> Signed-off-by: Nicolas Iooss <nicolas.iooss@m4x.org>

Thanks, applied

> ---
>  libsemanage/src/dso.h | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/libsemanage/src/dso.h b/libsemanage/src/dso.h
> index 5c69aaef0090..8c9a0140871f 100644
> --- a/libsemanage/src/dso.h
> +++ b/libsemanage/src/dso.h
> @@ -1,5 +1,5 @@
> -#ifndef _SEPOL_DSO_H
> -#define _SEPOL_DSO_H	1
> +#ifndef _SEMANAGE_DSO_H
> +#define _SEMANAGE_DSO_H	1
>  
>  #ifdef SHARED
>  # define hidden __attribute__ ((visibility ("hidden")))
>
diff mbox

Patch

diff --git a/libsemanage/src/dso.h b/libsemanage/src/dso.h
index 5c69aaef0090..8c9a0140871f 100644
--- a/libsemanage/src/dso.h
+++ b/libsemanage/src/dso.h
@@ -1,5 +1,5 @@ 
-#ifndef _SEPOL_DSO_H
-#define _SEPOL_DSO_H	1
+#ifndef _SEMANAGE_DSO_H
+#define _SEMANAGE_DSO_H	1
 
 #ifdef SHARED
 # define hidden __attribute__ ((visibility ("hidden")))