mirror of
https://github.com/SELinuxProject/selinux
synced 2024-12-25 23:42:05 +00:00
cil: rm dead dso.h file
Acked-by: Joshua Brindle <joshua.brindle@crunchydata.com> Signed-off-by: William Roberts <william.c.roberts@intel.com>
This commit is contained in:
parent
92e7494f42
commit
c018147da9
@ -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
|
|
Loading…
Reference in New Issue
Block a user