diff options
author | rsc <devnull@localhost> | 2004-04-08 19:36:35 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2004-04-08 19:36:35 +0000 |
commit | 650deb79804a49d2dff37c9313fe96b846ad8063 (patch) | |
tree | 5498b7fe35a540a2e0fa55806434a5d3055eda2b /src/libhtml | |
parent | a67406e465169623421beba9072b213a8e75c423 (diff) | |
download | plan9port-650deb79804a49d2dff37c9313fe96b846ad8063.tar.gz plan9port-650deb79804a49d2dff37c9313fe96b846ad8063.tar.bz2 plan9port-650deb79804a49d2dff37c9313fe96b846ad8063.zip |
Make libhtml, htmlfmt build.
Thanks to wkj for doing all the hard work.
Diffstat (limited to 'src/libhtml')
-rw-r--r-- | src/libhtml/impl.h | 2 | ||||
-rw-r--r-- | src/libhtml/mkfile | 14 | ||||
-rw-r--r-- | src/libhtml/utils.c | 1 |
3 files changed, 6 insertions, 11 deletions
diff --git a/src/libhtml/impl.h b/src/libhtml/impl.h index f8c79ea3..1dfa689c 100644 --- a/src/libhtml/impl.h +++ b/src/libhtml/impl.h @@ -158,6 +158,6 @@ extern void _freetokens(Token* tarray, int n); extern Token* _gettoks(uchar* data, int datalen, int chset, int mtype, int* plen); extern int _tokaval(Token* t, int attid, Rune** pans, int xfer); -#pragma varargck type "T" Token* +/* #pragma varargck type "T" Token* */ #include "runetab.h" diff --git a/src/libhtml/mkfile b/src/libhtml/mkfile index 0952c451..7496d830 100644 --- a/src/libhtml/mkfile +++ b/src/libhtml/mkfile @@ -1,6 +1,6 @@ -<$SYS9/$systype/$objtype/mkfile +<$PLAN9/src/mkhdr -LIB=$LIB9/libhtml.a +LIB=libhtml.a OFILES=\ build.$O\ @@ -10,13 +10,7 @@ OFILES=\ runetab.$O\ HFILES=\ - $SYS9/sys/include/html.h\ + $PLAN9/include/html.h\ impl.h\ -UPDATE=\ - mkfile\ - $HFILES\ - ${OFILES:%.$O=%.c}\ - ${LIB:$SYS9/$systype/$objtype/%=$SYS9/$systype/386/%}\ - -<$SYS9/sys/src/cmd/mksyslib +<$PLAN9/src/mksyslib diff --git a/src/libhtml/utils.c b/src/libhtml/utils.c index db22bba7..32fd70d0 100644 --- a/src/libhtml/utils.c +++ b/src/libhtml/utils.c @@ -1,4 +1,5 @@ #include <u.h> +#include <limits.h> #include <libc.h> #include <draw.h> #include <html.h> |