summaryrefslogtreecommitdiff
path: root/amiga
diff options
context:
space:
mode:
Diffstat (limited to 'amiga')
-rwxr-xr-xamiga/arexx.c12
-rw-r--r--amiga/version.c1
2 files changed, 7 insertions, 6 deletions
diff --git a/amiga/arexx.c b/amiga/arexx.c
index 23175470a..6b54b5eda 100755
--- a/amiga/arexx.c
+++ b/amiga/arexx.c
@@ -23,7 +23,6 @@
#include "amiga/gui.h"
#include "amiga/options.h"
#include "desktop/browser.h"
-#include "utils/testament.h"
#include <string.h>
#include <math.h>
@@ -35,10 +34,11 @@
#include <gadgets/clicktab.h>
#include <reaction/reaction_macros.h>
-const char * const verarexx;
-const char * const netsurf_version;
-const int netsurf_version_major;
-const int netsurf_version_minor;
+extern const char * const verarexx;
+extern const char * const netsurf_version;
+extern const char * const wt_revid;
+extern const int netsurf_version_major;
+extern const int netsurf_version_minor;
enum
{
@@ -376,7 +376,7 @@ STATIC VOID rx_version(struct ARexxCmd *cmd, struct RexxMsg *rxm __attribute__((
{
if(cmd->ac_ArgList[1])
{
- if((netsurf_version_major > *(ULONG *)cmd->ac_ArgList[0]) || ((atoi(WT_REVID) >= *(ULONG *)cmd->ac_ArgList[1]) && (netsurf_version_major == *(ULONG *)cmd->ac_ArgList[0])))
+ if((netsurf_version_major > *(ULONG *)cmd->ac_ArgList[0]) || ((atoi(wt_revid) >= *(ULONG *)cmd->ac_ArgList[1]) && (netsurf_version_major == *(ULONG *)cmd->ac_ArgList[0])))
{
strcpy(result,"1");
}
diff --git a/amiga/version.c b/amiga/version.c
index b2e01a1f0..abf96b73f 100644
--- a/amiga/version.c
+++ b/amiga/version.c
@@ -24,3 +24,4 @@ static const __attribute__((used)) char *verstag = "\0$VER: NetSurf " NETSURF_VE
const char * const versvn = "SVN " WT_REVID;
const char * const verdate = WT_COMPILEDATE;
const char * const verarexx = NETSURF_VERSION_MAJOR "." WT_REVID;
+const char * const wt_revid = WT_REVID;