Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
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.
- Loading branch information
Ulrich Drepper
committed
Jul 17, 2002
1 parent
d747a0a
commit 11fa51b
Showing
6 changed files
with
48 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
extern void circlemod2 (void); | ||
extern int circlemod2 (void); | ||
|
||
void | ||
int | ||
circlemod1 (void) | ||
{ | ||
circlemod2 (); | ||
return circlemod2 (); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
extern void circlemod2_undefined (void); | ||
extern void circlemod3 (void); | ||
extern int circlemod3 (void); | ||
|
||
void | ||
int | ||
circlemod2 (void) | ||
{ | ||
circlemod2_undefined (); | ||
circlemod3 (); | ||
return circlemod3 (); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
extern void circlemod3 (void); | ||
extern int circlemod3 (void); | ||
|
||
void | ||
int | ||
circlemod2 (void) | ||
{ | ||
circlemod3 (); | ||
return circlemod3 (); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 (); | ||
} |