aboutsummaryrefslogtreecommitdiff
path: root/src/libhtml
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2005-10-29 17:42:27 +0000
committerrsc <devnull@localhost>2005-10-29 17:42:27 +0000
commit3c38dbc023af4c40f8b4c1b6a45b5d962d021dd2 (patch)
tree1e041da175c99b1bdd68640245b768c0273d92f7 /src/libhtml
parentf6cb98335aa17da7a683759bc927e87486bd59c8 (diff)
downloadplan9port-3c38dbc023af4c40f8b4c1b6a45b5d962d021dd2.tar.gz
plan9port-3c38dbc023af4c40f8b4c1b6a45b5d962d021dd2.tar.bz2
plan9port-3c38dbc023af4c40f8b4c1b6a45b5d962d021dd2.zip
many dumb fixes.
Diffstat (limited to 'src/libhtml')
-rw-r--r--src/libhtml/build.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/libhtml/build.c b/src/libhtml/build.c
index 0ee3b2d5..7cae15d4 100644
--- a/src/libhtml/build.c
+++ b/src/libhtml/build.c
@@ -89,7 +89,7 @@ static AsciiInt _align_tab[] = {
{"right", ALright},
{"top", ALtop}
};
-#define NALIGNTAB (sizeof(align_tab)/sizeof(StringInt))
+#define NALIGNTAB (sizeof(_align_tab)/sizeof(StringInt))
static StringInt *input_tab;
static AsciiInt _input_tab[] = {
@@ -104,7 +104,7 @@ static AsciiInt _input_tab[] = {
{"submit", Fsubmit},
{"text", Ftext}
};
-#define NINPUTTAB (sizeof(input_tab)/sizeof(StringInt))
+#define NINPUTTAB (sizeof(_input_tab)/sizeof(StringInt))
static StringInt *clear_tab;
static AsciiInt _clear_tab[] = {
@@ -112,7 +112,7 @@ static AsciiInt _clear_tab[] = {
{"left", IFcleft},
{"right", IFcright}
};
-#define NCLEARTAB (sizeof(clear_tab)/sizeof(StringInt))
+#define NCLEARTAB (sizeof(_clear_tab)/sizeof(StringInt))
static StringInt *fscroll_tab;
static AsciiInt _fscroll_tab[] = {
@@ -120,7 +120,7 @@ static AsciiInt _fscroll_tab[] = {
{"no", FRnoscroll},
{"yes", FRhscroll|FRvscroll},
};
-#define NFSCROLLTAB (sizeof(fscroll_tab)/sizeof(StringInt))
+#define NFSCROLLTAB (sizeof(_fscroll_tab)/sizeof(StringInt))
static StringInt *shape_tab;
static AsciiInt _shape_tab[] = {
@@ -131,14 +131,14 @@ static AsciiInt _shape_tab[] = {
{"rect", SHrect},
{"rectangle", SHrect}
};
-#define NSHAPETAB (sizeof(shape_tab)/sizeof(StringInt))
+#define NSHAPETAB (sizeof(_shape_tab)/sizeof(StringInt))
static StringInt *method_tab;
static AsciiInt _method_tab[] = {
{"get", HGet},
{"post", HPost}
};
-#define NMETHODTAB (sizeof(method_tab)/sizeof(StringInt))
+#define NMETHODTAB (sizeof(_method_tab)/sizeof(StringInt))
static Rune** roman;
static char* _roman[15]= {
@@ -528,7 +528,7 @@ static AsciiInt _color_tab[] = {
{"white", 0xFFFFFF},
{"yellow", 0xFFFF00}
};
-#define NCOLORS (sizeof(color_tab)/sizeof(StringInt))
+#define NCOLORS (sizeof(_color_tab)/sizeof(StringInt))
static StringInt *targetmap;
static int targetmapsize;