From: Ben Gras Date: Fri, 30 Mar 2007 15:17:32 +0000 (+0000) Subject: rename svn revision variable to one with underscore, to not pollute X-Git-Tag: v3.1.3~29 X-Git-Url: http://zhaoyanbai.com/repos/man.dnssec-signzone.html?a=commitdiff_plain;h=a2d3b518d8dba30e6ed15a117a3783f2b914dc1e;p=minix.git rename svn revision variable to one with underscore, to not pollute application namespace --- 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