summaryrefslogtreecommitdiff
path: root/test/dlopen/libtest1.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-08-19 14:24:14 +0000
committerEric Andersen <andersen@codepoet.org>2003-08-19 14:24:14 +0000
commit59146c35832695bc944197115986f8e7f0dea947 (patch)
tree181bed7d50f38f84a4bc55810c55b3c164349496 /test/dlopen/libtest1.c
parent274c1217a4519c9b310ec9c9810ab0a801628cfe (diff)
Update the tests a little bit
Diffstat (limited to 'test/dlopen/libtest1.c')
-rw-r--r--test/dlopen/libtest1.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/dlopen/libtest1.c b/test/dlopen/libtest1.c
index c440d9b4a..f0dc9f537 100644
--- a/test/dlopen/libtest1.c
+++ b/test/dlopen/libtest1.c
@@ -5,22 +5,22 @@ extern int libtest2_func(const char *s);
void __attribute__((constructor)) libtest1_ctor(void)
{
- printf("I am the libtest1 constructor!\n");
+ printf("libtest1: constructor!\n");
}
void __attribute__((destructor)) libtest1_dtor(void)
{
- printf("I am the libtest1 destructor!\n");
+ printf("libtest1: destructor!\n");
}
void __attribute__((weak)) function1(void)
{
- printf("libtest1: I am function1 from libtest1!\n");
+ printf("libtest1: I am weak function1!\n");
}
void function2(void)
{
- printf("libtest1: I am overriding function2!\n");
+ printf("libtest1: I am function2!\n");
}