[Commit] slim/src slim_internal.h,1.2,1.3
Carl Worth
commit at keithp.com
Tue Sep 9 18:32:10 PDT 2003
Committed by: cworth
Update of /local/src/CVS/slim/src
In directory home.keithp.com:/tmp/cvs-serv32258/src
Modified Files:
slim_internal.h
Log Message:
Remove ';' from slim_hidden_def. Bump version to 0.1.1
Index: slim_internal.h
===================================================================
RCS file: /local/src/CVS/slim/src/slim_internal.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- slim_internal.h 31 Jul 2003 09:14:10 -0000 1.2
+++ slim_internal.h 10 Sep 2003 00:32:07 -0000 1.3
@@ -60,7 +60,7 @@
If calls to foo within libfoo.so should always go to foo defined
in libfoo.so, then in fooint.h you add:
- hidden_proto (foo)
+ slim_hidden_proto (foo)
and after the foo function definition:
@@ -68,7 +68,7 @@
{
return __bar;
}
- hidden_def (foo)
+ slim_hidden_def (foo);
This works by arranging for the C symbol "foo" to be renamed to
"INT_foo" at the assembly level, which is marked __internal_linkage.
@@ -85,7 +85,7 @@
__internal_linkage;
# define slim_hidden_def1(name, internal) \
extern __typeof (name) EXT_##name __asm__(slim_hidden_asmname(name)) \
- __attribute__((__alias__(slim_hidden_asmname(internal))));
+ __attribute__((__alias__(slim_hidden_asmname(internal))))
# define slim_hidden_ulp slim_hidden_ulp1(__USER_LABEL_PREFIX__)
# define slim_hidden_ulp1(x) slim_hidden_ulp2(x)
# define slim_hidden_ulp2(x) #x
More information about the Commit
mailing list