summaryrefslogtreecommitdiff
path: root/src/tools/lcc/cpp/include.c
diff options
context:
space:
mode:
authorPan7 <panter@gmx.net>2014-12-26 12:52:10 +0100
committerTim Angus <tim@ngus.net>2015-03-17 11:39:02 +0000
commitbb2c3899b2d118dbffaa202b827266ba8db5d723 (patch)
tree4eacc57f62bb6755e1989502b75bd583dd01bd07 /src/tools/lcc/cpp/include.c
parente0629ca273801ca2a665e2d205a664e4af1005ee (diff)
Renaming outp to outbufp because outp() is an existing function
Diffstat (limited to 'src/tools/lcc/cpp/include.c')
-rw-r--r--src/tools/lcc/cpp/include.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tools/lcc/cpp/include.c b/src/tools/lcc/cpp/include.c
index 54c0b77a..5ecd8b30 100644
--- a/src/tools/lcc/cpp/include.c
+++ b/src/tools/lcc/cpp/include.c
@@ -120,7 +120,7 @@ genline(void)
static Tokenrow tr = { &ta, &ta, &ta+1, 1 };
uchar *p;
- ta.t = p = (uchar*)outp;
+ ta.t = p = (uchar*)outbufp;
strcpy((char*)p, "#line ");
p += sizeof("#line ")-1;
p = (uchar*)outnum((char*)p, cursource->line);
@@ -133,8 +133,8 @@ genline(void)
strcpy((char*)p, cursource->filename);
p += strlen((char*)p);
*p++ = '"'; *p++ = '\n';
- ta.len = (char*)p-outp;
- outp = (char*)p;
+ ta.len = (char*)p-outbufp;
+ outbufp = (char*)p;
tr.tp = tr.bp;
puttokens(&tr);
}