aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/rio/client.c
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2004-03-21 23:24:28 +0000
committerrsc <devnull@localhost>2004-03-21 23:24:28 +0000
commite62ba5ec0bd3245fb70b033d3e4969b00db91452 (patch)
treee0650b08518cf74a54dff913e2767b3fd7f9daf5 /src/cmd/rio/client.c
parent64044a070aab10224b1ccfc1a974887d5ec0c7aa (diff)
downloadplan9port-e62ba5ec0bd3245fb70b033d3e4969b00db91452.tar.gz
plan9port-e62ba5ec0bd3245fb70b033d3e4969b00db91452.tar.bz2
plan9port-e62ba5ec0bd3245fb70b033d3e4969b00db91452.zip
Fix lots of warnings.
Incorporate changes from Andrey Mirtchovski.
Diffstat (limited to 'src/cmd/rio/client.c')
-rw-r--r--src/cmd/rio/client.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/cmd/rio/client.c b/src/cmd/rio/client.c
index 9e346558..f3f51073 100644
--- a/src/cmd/rio/client.c
+++ b/src/cmd/rio/client.c
@@ -1,5 +1,8 @@
/* Copyright (c) 1994-1996 David Hogan, see README for licence details */
#include <stdio.h>
+#include <unistd.h>
+#include <stdlib.h>
+#include <string.h>
#include <X11/X.h>
#include <X11/Xlib.h>
#include <X11/Xutil.h>
@@ -124,7 +127,7 @@ top(Client *c)
}
l = &cc->next;
}
- fprintf(stderr, "9wm: %x not on client list in top()\n", c);
+ fprintf(stderr, "9wm: %p not on client list in top()\n", c);
}
Client *