]> Zhao Yanbai Git Server - minix.git/commitdiff
rename svn revision variable to one with underscore, to not pollute
authorBen Gras <ben@minix3.org>
Fri, 30 Mar 2007 15:17:32 +0000 (15:17 +0000)
committerBen Gras <ben@minix3.org>
Fri, 30 Mar 2007 15:17:32 +0000 (15:17 +0000)
application namespace

kernel/main.c
tools/release.sh

index 0579b12636499884563f5ec05369cf53032ed7a3..1ba0e50d53444181714ef7a6e0d7784605c90264 100755 (executable)
@@ -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);
index 96f07c836a74e2f5ae0813f2efc1f9b9d3c0166f..feb1d3f573bcb030643954da869b71c4211b19a7 100755 (executable)
@@ -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