about summary refs log tree commit diff
path: root/elf/circlemod3.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-07-17 00:34:35 +0000
committerUlrich Drepper <drepper@redhat.com>2002-07-17 00:34:35 +0000
commit11fa51b8f64823ae4acb844d782540d72e130f40 (patch)
tree1c046af07c67ad58b6239473abc85ecceae9e65b /elf/circlemod3.c
parentd747a0a564d522ab31944eac60e923e4596b3684 (diff)
downloadglibc-11fa51b8f64823ae4acb844d782540d72e130f40.tar.gz
glibc-11fa51b8f64823ae4acb844d782540d72e130f40.tar.xz
glibc-11fa51b8f64823ae4acb844d782540d72e130f40.zip
Update.
2002-07-01  H.J. Lu  <hjl@gnu.org>

	* elf/circleload1.c (load_dso): Call "circlemod1" and check
	return value.

	* elf/circlemod1.c (circlemod1): Return int.
	* elf/circlemod2.c (circlemod2): Likewise.
	* elf/circlemod2a.c (circlemod2): Likewise.
	* elf/circlemod3.c (circlemod3): Likewise.
	(circlemod3a): A new function.
Diffstat (limited to 'elf/circlemod3.c')
-rw-r--r--elf/circlemod3.c15
1 files changed, 10 insertions, 5 deletions
diff --git a/elf/circlemod3.c b/elf/circlemod3.c
index 6ac00a0296..8d16fe682f 100644
--- a/elf/circlemod3.c
+++ b/elf/circlemod3.c
@@ -1,9 +1,14 @@
-extern void circlemod1 (void);
-extern void circlemod2 (void);
+extern int circlemod1 (void);
+extern int circlemod2 (void);
 
-void
+int
 circlemod3 (void)
 {
-  circlemod1 ();
-  circlemod2 ();
+  return 3;
+}
+
+int
+circlemod3a (void)
+{
+  return circlemod1 () + circlemod2 ();
 }