summaryrefslogtreecommitdiff
path: root/sys/src/cmd/cpp/cpp.h
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2019-06-18 22:47:15 -0700
committerOri Bernstein <ori@eigenstate.org>2019-06-18 22:47:15 -0700
commit94fb8869dfba9e09afa9f64a37302dc444393766 (patch)
treee371cdf1ec1f66fc71ac66f36185169e6528b7ca /sys/src/cmd/cpp/cpp.h
parentff344562dbefe0e53adc900b6e7cd962ae555e94 (diff)
downloadplan9front-94fb8869dfba9e09afa9f64a37302dc444393766.tar.xz
Always turn on the -+ flag in cpp
C99 comments have been the default in compilers for something like 20 years now. This means we don't need to remember to turn it on when porting software, and gets rid of cryptic errors about unterminated character constants when someone writes something like: // Didn't need to... We still accept the flag to avoid breaking mkfiles, but we do nothing with it. This also removes the documentation, since the option does nothing now.
Diffstat (limited to 'sys/src/cmd/cpp/cpp.h')
-rw-r--r--sys/src/cmd/cpp/cpp.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/src/cmd/cpp/cpp.h b/sys/src/cmd/cpp/cpp.h
index 2f70ffcfe..b1661ec38 100644
--- a/sys/src/cmd/cpp/cpp.h
+++ b/sys/src/cmd/cpp/cpp.h
@@ -86,7 +86,6 @@ extern unsigned long namebit[077+1];
enum errtype { WARNING, ERROR, FATAL };
void expandlex(void);
-void fixlex(void);
void setup(int, char **);
#define gettokens cpp_gettokens
int gettokens(Tokenrow *, int);