about summary refs log tree commit diff
path: root/elf/order.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-11-26 06:18:02 +0000
committerUlrich Drepper <drepper@redhat.com>2000-11-26 06:18:02 +0000
commita850e77f3f10ce5cac3cc708274cc2a39360faa6 (patch)
treeab565114379f945b1ffd4ca6be73e25c670ff7ec /elf/order.c
parent68784f809ae820107eb556ee4da46ae55af26e3f (diff)
downloadglibc-a850e77f3f10ce5cac3cc708274cc2a39360faa6.tar.gz
glibc-a850e77f3f10ce5cac3cc708274cc2a39360faa6.tar.xz
glibc-a850e77f3f10ce5cac3cc708274cc2a39360faa6.zip
Update.
	* elf/loadfail.c: Little cosmetic changes to avoid warnings.
	* elf/loadtest.c: Likewise.
	* elf/multiload.c: Likewise.
	* elf/next.c: Likewise.
	* elf/nodelete.c: Likewise.
	* elf/noload.c: Likewise.
	* elf/order.c: Likewise.
	* elf/origtest.c: Likewise.
	* elf/preloadtest.c: Likewise.
	* elf/restest1.c: Likewise.
Diffstat (limited to 'elf/order.c')
-rw-r--r--elf/order.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/elf/order.c b/elf/order.c
index 4544591c50..ca617cbc09 100644
--- a/elf/order.c
+++ b/elf/order.c
@@ -1,5 +1,6 @@
 #include <unistd.h>
 
+void init (void) __attribute__ ((constructor));
 void
 __attribute__ ((constructor))
 init (void)
@@ -7,6 +8,7 @@ init (void)
   write (1, "4", 1);
 }
 
+void fini (void) __attribute__ ((destructor));
 void
 __attribute__ ((destructor))
 fini (void)