diff options
| author | Mark J. Nelson <Mark.J.Nelson@Sun.COM> | 2008-08-06 16:29:39 -0600 |
|---|---|---|
| committer | Mark J. Nelson <Mark.J.Nelson@Sun.COM> | 2008-08-06 16:29:39 -0600 |
| commit | 9a70fc3be3b1e966bf78825cdb8d509963a6f0a1 (patch) | |
| tree | 37cd6d18c9cdf3a8d6012e657cd17a9783f5a182 /usr/src/tools/cw/cw.c | |
| parent | 733c059aa6d54dc62d25850c71f71091e10d0aaa (diff) | |
| download | illumos-joyent-9a70fc3be3b1e966bf78825cdb8d509963a6f0a1.tar.gz | |
6733918 Teamware has retired, please welcome your new manager, Mercurial
4758439 some files use "current date" sccs keywords
6560843 asm sources should not rely on .file "%M%" for naming STT_FILE symbols
6560958 Solaris:: perl modules should not use SCCS keywords in version information
6729074 webrev doesn't deal well with remote ssh hg parents
Diffstat (limited to 'usr/src/tools/cw/cw.c')
| -rw-r--r-- | usr/src/tools/cw/cw.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/usr/src/tools/cw/cw.c b/usr/src/tools/cw/cw.c index aaf86f6889..fc63fd5649 100644 --- a/usr/src/tools/cw/cw.c +++ b/usr/src/tools/cw/cw.c @@ -20,19 +20,21 @@ */ /* - * Copyright 2007 Sun Microsystems, Inc. All rights reserved. + * Copyright 2008 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ -#pragma ident "%Z%%M% %I% %E% SMI" - /* * Wrapper for the GNU C compiler to make it accept the Sun C compiler * arguments where possible. * * Since the translation is inexact, this is something of a work-in-progress. + * */ +/* If you modify this file, you must increment CW_VERSION */ +#define CW_VERSION "1.25" + /* * -# Verbose mode * -### Show compiler commands built by driver, no compilation @@ -1863,7 +1865,7 @@ main(int argc, char **argv) * ask each for its version if we know how. */ if (argc > 1 && strcmp(argv[1], "-_versions") == 0) { - (void) printf("%s", "cw version %I%"); + (void) printf("cw version %s", CW_VERSION); if (!do_shadow) (void) printf(" (SHADOW MODE DISABLED)"); (void) printf("\n"); |
