From a2d3b518d8dba30e6ed15a117a3783f2b914dc1e Mon Sep 17 00:00:00 2001 From: Ben Gras Date: Fri, 30 Mar 2007 15:17:32 +0000 Subject: [PATCH] rename svn revision variable to one with underscore, to not pollute application namespace --- kernel/main.c | 4 ++-- tools/release.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/kernel/main.c b/kernel/main.c index 0579b1263..1ba0e50d5 100755 --- a/kernel/main.c +++ b/kernel/main.c @@ -179,8 +179,8 @@ PRIVATE void announce(void) { /* Display the MINIX startup banner. */ kprintf("\nMINIX %s.%s. " -#ifdef SVN_REVISION - "(" SVN_REVISION ")\n" +#ifdef _SVN_REVISION + "(" _SVN_REVISION ")\n" #endif "Copyright 2006, Vrije Universiteit, Amsterdam, The Netherlands\n", OS_RELEASE, OS_VERSION); diff --git a/tools/release.sh b/tools/release.sh index 96f07c836..feb1d3f57 100755 --- a/tools/release.sh +++ b/tools/release.sh @@ -287,8 +287,8 @@ then echo " /* Added by release script */ -#ifndef SVN_REVISION -#define SVN_REVISION \"$REVISION\" +#ifndef _SVN_REVISION +#define _SVN_REVISION \"$REVISION\" #endif" >>$RELEASEDIR/usr/src/include/minix/sys_config.h else