summaryrefslogtreecommitdiff
path: root/usr/src/tools/cw/cw.c
diff options
context:
space:
mode:
authorDan McDonald <danmcd@mnx.io>2022-10-11 13:23:22 -0400
committerGitHub <noreply@github.com>2022-10-11 13:23:22 -0400
commite96f32b080e9fccff07857ffc895c73f4ee098c9 (patch)
tree3cab2b9d7ec3c5d375d9c9ffa7e78c2602cff8ad /usr/src/tools/cw/cw.c
parent0badb5a5621fba6a24ee4848301c700c2604e37e (diff)
parent3c0d2531d832d7e3af27b37d394ce635bc904754 (diff)
downloadillumos-joyent-OS-8415.tar.gz
Merge branch 'master' into OS-8415OS-8415
Diffstat (limited to 'usr/src/tools/cw/cw.c')
-rw-r--r--usr/src/tools/cw/cw.c13
1 files changed, 2 insertions, 11 deletions
diff --git a/usr/src/tools/cw/cw.c b/usr/src/tools/cw/cw.c
index 91e014c966..22e086820e 100644
--- a/usr/src/tools/cw/cw.c
+++ b/usr/src/tools/cw/cw.c
@@ -21,12 +21,10 @@
*/
/*
- * Copyright 2018, Richard Lowe.
- */
-/*
* Copyright 2010 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*
+ * Copyright 2018 Richard Lowe.
* Copyright 2019 Joyent, Inc.
*/
@@ -39,7 +37,7 @@
*/
/* If you modify this file, you must increment CW_VERSION */
-#define CW_VERSION "6.1"
+#define CW_VERSION "7.1"
/*
* -# Verbose mode
@@ -666,13 +664,6 @@ do_gcc(cw_ictx_t *ctx)
if (*arg == '-') {
arglen--;
} else {
- /*
- * Discard inline files that gcc doesn't grok
- */
- if (!in_output && arglen > 3 &&
- strcmp(arg + arglen - 3, ".il") == 0)
- continue;
-
if (!in_output && is_source_file(arg))
c_files++;