libsemanage: use a macro prefixed with SEMANAGE to protect dso.h
PATCH 1/1 libsemanage: use a macro prefixed with SEMANAGE to protect dso.h
Signed-off-by Nicolas Iooss <[email protected]>
--- libsemanage/src/dso.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
libsemanage/src/dso.h +2 -2
@@ -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")))
Signature · 1 line
2.10.2
Stephen Smalley
AppliedQuoted 1 line · Nicolas Iooss
Signed-off-by Nicolas Iooss <[email protected]>
Thanks, applied
Quoted 17 lines
--- libsemanage/src/dso.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)libsemanage/src/dso.h +2
-2@@ -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")))