summaryrefslogtreecommitdiff
path: root/RC32.c
diff options
context:
space:
mode:
authorPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2009-01-09 16:34:13 -0200
committerPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2009-01-09 16:34:13 -0200
commit49336f1b6fa5d8dc8a9ae3e8d286b061f0d2914c (patch)
tree4a1948dc2ae78bdda29964d59298d602a91e214c /RC32.c
parent498cce64f12de67271316417de821460e8eee066 (diff)
Ansification and compile warning fixes.
Code that already have a header with the proper prototype is safe to ansify. This uses XORG_CHANGELOG macro to properly work with the "git-log" to "git log" change (required to pass "make distcheck"), uses the XORG_CWARNFLAGS macro, and doesn't generate any compile warnings from gcc 4.3 and sparse.
Diffstat (limited to 'RC32.c')
-rw-r--r--RC32.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/RC32.c b/RC32.c
index caf19e6..99a6d35 100644
--- a/RC32.c
+++ b/RC32.c
@@ -36,9 +36,7 @@ in this Software without prior written authorization from The Open Group.
#include <X11/Xdmcp.h>
int
-XdmcpReadCARD32 (buffer, valuep)
- XdmcpBufferPtr buffer;
- CARD32Ptr valuep;
+XdmcpReadCARD32 (XdmcpBufferPtr buffer, CARD32Ptr valuep)
{
CARD8 byte0, byte1, byte2, byte3;
if (XdmcpReadCARD8 (buffer, &byte0) &&