diff mbox series

[1/2] cil: rm dead dso.h file

Message ID 20200326154641.7253-2-william.c.roberts@intel.com (mailing list archive)
State Accepted
Headers show
Series [1/2] cil: rm dead dso.h file | expand

Commit Message

William Roberts March 26, 2020, 3:46 p.m. UTC
From: William Roberts <william.c.roberts@intel.com>

Signed-off-by: William Roberts <william.c.roberts@intel.com>
---
 libsepol/cil/src/dso.h | 27 ---------------------------
 1 file changed, 27 deletions(-)
 delete mode 100644 libsepol/cil/src/dso.h
diff mbox series

Patch

diff --git a/libsepol/cil/src/dso.h b/libsepol/cil/src/dso.h
deleted file mode 100644
index 64a162cef86b..000000000000
--- a/libsepol/cil/src/dso.h
+++ /dev/null
@@ -1,27 +0,0 @@ 
-#ifndef _SEPOL_DSO_H
-#define _SEPOL_DSO_H	1
-
-#if !defined(SHARED) || defined(ANDROID) || defined(__APPLE__)
-    #define DISABLE_SYMVER 1
-#endif
-
-#ifdef SHARED
-# define hidden __attribute__ ((visibility ("hidden")))
-# define hidden_proto(fct) __hidden_proto (fct, fct##_internal)
-# define __hidden_proto(fct, internal)	\
-     extern __typeof (fct) internal;	\
-     extern __typeof (fct) fct __asm (#internal) hidden;
-# if defined(__alpha__) || defined(__mips__)
-#  define hidden_def(fct) \
-     asm (".globl " #fct "\n" #fct " = " #fct "_internal");
-# else
-#  define hidden_def(fct) \
-     asm (".globl " #fct "\n.set " #fct ", " #fct "_internal");
-#endif
-#else
-# define hidden
-# define hidden_proto(fct)
-# define hidden_def(fct)
-#endif
-
-#endif