From fdd58cacbb5b93b74ba9ba766e752b922a7c8b9c Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Sat, 14 Jul 2012 22:16:27 -0700 Subject: Convert ILong, IShort, etal to return C99 uint*_t types Signed-off-by: Alan Coopersmith --- x11.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'x11.h') diff --git a/x11.h b/x11.h index 4fba039..2a8b6bb 100644 --- a/x11.h +++ b/x11.h @@ -51,6 +51,8 @@ #ifndef XSCOPE_X11_H #define XSCOPE_X11_H +#include + /* Some field contents are constants, not just types */ #define CONST1(n) CARD8 @@ -531,10 +533,10 @@ extern void PrintValueRec(unsigned long key, unsigned long cmask, short ctype); /* declaration of the types of some common functions */ -extern unsigned long ILong(const unsigned char *buf); -extern unsigned short IShort(const unsigned char *buf); -extern unsigned short IChar2B(const unsigned char *buf); -extern unsigned short IByte(const unsigned char *buf); +extern uint32_t ILong(const unsigned char *buf); +extern uint16_t IShort(const unsigned char *buf); +extern uint16_t IChar2B(const unsigned char *buf); +extern uint8_t IByte(const unsigned char *buf); extern Boolean IBool(const unsigned char *buf); extern int PrintString8(const unsigned char *buf, int number, const char *name); -- cgit v1.2.1