projects
/
util-vserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
f5d5a2f
)
Add hidden attribute to be used for versioned symbols.
author
Daniel Hokka Zakrisson
<daniel@hozac.com>
Fri, 31 Oct 2008 04:07:18 +0000 (
04:07
+0000)
committer
Daniel Hokka Zakrisson
<daniel@hozac.com>
Fri, 31 Oct 2008 04:07:18 +0000 (
04:07
+0000)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2815
94cd875c
-1c1d-0410-91d2-
eb244daf1a30
lib/vserver-internal.h
patch
|
blob
|
history
diff --git
a/lib/vserver-internal.h
b/lib/vserver-internal.h
index
334357e
..
30ff3fc
100644
(file)
--- a/
lib/vserver-internal.h
+++ b/
lib/vserver-internal.h
@@
-273,6
+273,12
@@
inline static ALWAYSINLINE void vc_noop0() {}
#define EXT2_IOC_GETCONTEXT _IOR('x', 1, long)
#define EXT2_IOC_SETCONTEXT _IOW('x', 2, long)
+#if defined(__GNUC__)
+# define VC_ATTR_HIDDEN __attribute__ ((hidden))
+#else
+# define VC_ATTR_HIDDEN
+#endif
+
#ifndef HAVE_VSERVER
#ifdef ENSC_SYSCALL_TRADITIONAL
inline static UNUSED ALWAYSINLINE