summaryrefslogtreecommitdiff
path: root/zwgc
diff options
context:
space:
mode:
authorGravatar Dan Winship <danw@mit.edu>1999-08-12 20:19:28 +0000
committerGravatar Dan Winship <danw@mit.edu>1999-08-12 20:19:28 +0000
commit82d03cb6cc04d9830eafa0fc1887e777dc6a64cb (patch)
treefdf6eb7440889b15e0abe6eec20b91c982aa9463 /zwgc
parentfec950e474e5f7a177353db7b13f5818875741dd (diff)
fix things Irix n32 cc complains about
Diffstat (limited to 'zwgc')
-rw-r--r--zwgc/exec.c4
-rw-r--r--zwgc/tty_filter.c8
-rw-r--r--zwgc/xerror.c1
-rw-r--r--zwgc/xshow.c1
-rw-r--r--zwgc/zephyr.c2
5 files changed, 9 insertions, 7 deletions
diff --git a/zwgc/exec.c b/zwgc/exec.c
index ad40d5b..1bf8f72 100644
--- a/zwgc/exec.c
+++ b/zwgc/exec.c
@@ -429,8 +429,8 @@ static int exec_subtree(node)
/***************************************************************************/
static char *notice_fields;
-static notice_fields_length = 0;
-static number_of_fields = 0;
+static int notice_fields_length = 0;
+static int number_of_fields = 0;
static int exec_fields(node)
Node *node;
diff --git a/zwgc/tty_filter.c b/zwgc/tty_filter.c
index dcc12c2..86ab8f9 100644
--- a/zwgc/tty_filter.c
+++ b/zwgc/tty_filter.c
@@ -218,10 +218,10 @@ typedef struct _tty_str_info {
int len;
char alignment; /* 'l', 'c', 'r', or ' ' to indicate newline */
- int bold_p : 1;
- int italic_p : 1;
- int bell_p : 1;
- int ignore: 1;
+ unsigned int bold_p : 1;
+ unsigned int italic_p : 1;
+ unsigned int bell_p : 1;
+ unsigned int ignore: 1;
} tty_str_info;
static void free_info(info)
diff --git a/zwgc/xerror.c b/zwgc/xerror.c
index 38c7fbd..33e389a 100644
--- a/zwgc/xerror.c
+++ b/zwgc/xerror.c
@@ -32,6 +32,7 @@ static int xerrortrap(dpy,xerrev)
XErrorEvent *xerrev;
{
xerror_happened = 1;
+ return 0;
}
/*ARGSUSED*/
diff --git a/zwgc/xshow.c b/zwgc/xshow.c
index fa3b2ce..d970ccc 100644
--- a/zwgc/xshow.c
+++ b/zwgc/xshow.c
@@ -43,6 +43,7 @@ extern unsigned long default_bgcolor;
extern unsigned long default_fgcolor;
extern unsigned long x_string_to_color();
+void
xshowinit()
{
desc_context = XUniqueContext();
diff --git a/zwgc/zephyr.c b/zwgc/zephyr.c
index 0bc403a..c5a3855 100644
--- a/zwgc/zephyr.c
+++ b/zwgc/zephyr.c
@@ -187,7 +187,7 @@ void zephyr_init(notice_handler)
* <<<>>>
*/
mux_add_input_source(ZGetFD(), (void (*)())handle_zephyr_input,
- (pointer)notice_handler);
+ notice_handler);
zephyr_inited = 1;
return;
}