diff options
| author | John Polstra <jdp@FreeBSD.org> | 1999-03-13 01:35:44 +0000 |
|---|---|---|
| committer | John Polstra <jdp@FreeBSD.org> | 1999-03-13 01:35:44 +0000 |
| commit | 0738f6e0c3a4dd3f533553d7ecd42ebdd68e02e3 (patch) | |
| tree | 7b305d59fe6d109802c8ece7eb1860ee65aa408b /lib | |
| parent | 03fd03689eb472b77aef07a6341567ee14c948dc (diff) | |
Notes
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/csu/common/crtbegin.c | 6 | ||||
| -rw-r--r-- | lib/csu/i386-elf/crtbegin.c | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/lib/csu/common/crtbegin.c b/lib/csu/common/crtbegin.c index 2e06dc8ec8463..ddc8b807b9fea 100644 --- a/lib/csu/common/crtbegin.c +++ b/lib/csu/common/crtbegin.c @@ -22,7 +22,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: crtbegin.c,v 1.1.1.1 1998/03/07 20:27:10 jdp Exp $ + * $Id: crtbegin.c,v 1.2 1999/03/12 17:33:27 jdp Exp $ */ #include <sys/cdefs.h> @@ -41,6 +41,8 @@ do_ctors(void) fptr *fpp; for(fpp = ctor_list + 1; *fpp != 0; ++fpp) + ; + while(--fpp > ctor_list) (**fpp)(); } @@ -50,8 +52,6 @@ do_dtors(void) fptr *fpp; for(fpp = dtor_list + 1; *fpp != 0; ++fpp) - ; - while(--fpp > dtor_list) (**fpp)(); } diff --git a/lib/csu/i386-elf/crtbegin.c b/lib/csu/i386-elf/crtbegin.c index 2e06dc8ec8463..ddc8b807b9fea 100644 --- a/lib/csu/i386-elf/crtbegin.c +++ b/lib/csu/i386-elf/crtbegin.c @@ -22,7 +22,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: crtbegin.c,v 1.1.1.1 1998/03/07 20:27:10 jdp Exp $ + * $Id: crtbegin.c,v 1.2 1999/03/12 17:33:27 jdp Exp $ */ #include <sys/cdefs.h> @@ -41,6 +41,8 @@ do_ctors(void) fptr *fpp; for(fpp = ctor_list + 1; *fpp != 0; ++fpp) + ; + while(--fpp > ctor_list) (**fpp)(); } @@ -50,8 +52,6 @@ do_dtors(void) fptr *fpp; for(fpp = dtor_list + 1; *fpp != 0; ++fpp) - ; - while(--fpp > dtor_list) (**fpp)(); } |
