diff options
author | rsc <devnull@localhost> | 2004-03-21 23:24:28 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2004-03-21 23:24:28 +0000 |
commit | e62ba5ec0bd3245fb70b033d3e4969b00db91452 (patch) | |
tree | e0650b08518cf74a54dff913e2767b3fd7f9daf5 /src/cmd/rio/client.c | |
parent | 64044a070aab10224b1ccfc1a974887d5ec0c7aa (diff) | |
download | plan9port-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.c | 5 |
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 * |