diff options
author | wkj <devnull@localhost> | 2004-05-17 02:22:03 +0000 |
---|---|---|
committer | wkj <devnull@localhost> | 2004-05-17 02:22:03 +0000 |
commit | 75347226678394e8316d3e38ea64f44524e4f089 (patch) | |
tree | e01c83e40e938c921d53ee654145bf7b14780120 /src/cmd/mpm | |
parent | 4418401f335e22c27206c02a9d9f8c6c51ab1612 (diff) | |
download | plan9port-75347226678394e8316d3e38ea64f44524e4f089.tar.gz plan9port-75347226678394e8316d3e38ea64f44524e4f089.tar.bz2 plan9port-75347226678394e8316d3e38ea64f44524e4f089.zip |
Tweak mpm pending C++ support in the mkfiles.
Diffstat (limited to 'src/cmd/mpm')
-rw-r--r-- | src/cmd/mpm/mkfile | 5 | ||||
-rw-r--r-- | src/cmd/mpm/range.cc | 2 | ||||
-rw-r--r-- | src/cmd/mpm/tmac.pm | 2 |
3 files changed, 3 insertions, 6 deletions
diff --git a/src/cmd/mpm/mkfile b/src/cmd/mpm/mkfile index 48f900d6..c6bae4be 100644 --- a/src/cmd/mpm/mkfile +++ b/src/cmd/mpm/mkfile @@ -1,6 +1,6 @@ <$PLAN9/src/mkhdr -TARG=aux/pm +TARG=auxpm OFILES=misc.$O\ slug.$O\ range.$O\ @@ -9,10 +9,7 @@ OFILES=misc.$O\ HFILES=misc.h\ -BIN=/$objtype/bin <$PLAN9/src/mkone -CC=c++/$CC -LD=c++/$LD CFLAGS= slug.$O: slug.h diff --git a/src/cmd/mpm/range.cc b/src/cmd/mpm/range.cc index 988dff2f..829cb8c4 100644 --- a/src/cmd/mpm/range.cc +++ b/src/cmd/mpm/range.cc @@ -304,7 +304,7 @@ static void markbreak(slug *p) { // Mark impermissible breakpoints in BS's. // The parm field of a VBOX is >0 if we shouldn't break after it. - int parm; // how many lines must stay on page + int parm = 0; // how many lines must stay on page int goahead = 1; // true until we see the next BS int nowmark = 0; // true when we should be marking int n = 0; diff --git a/src/cmd/mpm/tmac.pm b/src/cmd/mpm/tmac.pm index 7ce01466..5fcea29f 100644 --- a/src/cmd/mpm/tmac.pm +++ b/src/cmd/mpm/tmac.pm @@ -1,5 +1,5 @@ .\" 10/22/92 activate next line before installing -.pi /$objtype/bin/aux/pm +.pi #9/bin/auxpm . . \" IZ - initialization .de IZ |