summaryrefslogtreecommitdiff
path: root/sys/src/cmd/mothra/forms.c
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2015-08-01 14:55:33 +0200
committercinap_lenrek <cinap_lenrek@felloff.net>2015-08-01 14:55:33 +0200
commit71c57070c61d58f9ba41a511ed3790201bedead7 (patch)
tree273fa8b300878dea3ddffb2f49d0b41ecf81b0e2 /sys/src/cmd/mothra/forms.c
parentfe5ede9792e3b4bbed05c10c534c8050e4208233 (diff)
mothra: enable compiler warnings and type checking, cleanup
Diffstat (limited to 'sys/src/cmd/mothra/forms.c')
-rw-r--r--sys/src/cmd/mothra/forms.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/src/cmd/mothra/forms.c b/sys/src/cmd/mothra/forms.c
index 3c8a8fd48..39afa62d4 100644
--- a/sys/src/cmd/mothra/forms.c
+++ b/sys/src/cmd/mothra/forms.c
@@ -3,6 +3,7 @@
#include <draw.h>
#include <event.h>
#include <panel.h>
+#include "rtext.h"
#include "mothra.h"
#include "html.h"
@@ -357,7 +358,7 @@ char *seloption(Field *f){
}
void mkfieldpanel(Rtext *t){
Action *a;
- Panel *win, *scrl, *menu, *pop, *button;
+ Panel *win, *scrl;
Field *f;
if((a = t->user) == nil)