diff --git a/lib/csu/common/crtbegin.c b/lib/csu/common/crtbegin.c index 2e06dc8ec846..ddc8b807b9fe 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 @@ -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 2e06dc8ec846..ddc8b807b9fe 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 @@ -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/sys/sys/param.h b/sys/sys/param.h index 88d2d06d765c..f896f0a06983 100644 --- a/sys/sys/param.h +++ b/sys/sys/param.h @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)param.h 8.3 (Berkeley) 4/4/95 - * $Id: param.h,v 1.40 1999/01/22 08:39:58 eivind Exp $ + * $Id: param.h,v 1.41 1999/02/20 23:54:00 jdp Exp $ */ #ifndef _SYS_PARAM_H_ @@ -46,7 +46,7 @@ #define BSD4_3 1 #define BSD4_4 1 #undef __FreeBSD_version -#define __FreeBSD_version 400001 /* Master, propagated to newvers */ +#define __FreeBSD_version 400002 /* Master, propagated to newvers */ #ifndef NULL #define NULL 0