Diff for /src/sys/boot/common/interp_forth.c between versions 1.3 and 1.4

version 1.3, 2003/11/10 06:08:31 version 1.4, 2004/01/25 22:50:20
Line 27 Line 27
  * $DragonFly$   * $DragonFly$
  */   */
   
#include <sys/param.h>          /* to pick up __FreeBSD_version */#include <sys/param.h>          /* to pick up __DragonFly_version */
 #include <string.h>  #include <string.h>
 #include <stand.h>  #include <stand.h>
 #include "bootstrap.h"  #include "bootstrap.h"
Line 254  bf_init(void) Line 254  bf_init(void)
     ficlExec(bf_vm, "only forth definitions");      ficlExec(bf_vm, "only forth definitions");
   
     /* Export some version numbers so that code can detect the loader/host version */      /* Export some version numbers so that code can detect the loader/host version */
    ficlSetEnv(bf_sys, "FreeBSD_version", __FreeBSD_version);    ficlSetEnv(bf_sys, "DragonFly_version", __DragonFly_version);
     ficlSetEnv(bf_sys, "loader_version",       ficlSetEnv(bf_sys, "loader_version", 
                (bootprog_rev[0] - '0') * 10 + (bootprog_rev[2] - '0'));                 (bootprog_rev[0] - '0') * 10 + (bootprog_rev[2] - '0'));
   

Removed from v.1.3  
changed lines
  Added in v.1.4