--- lib/font/include/fontmisc.h.orig 2003-12-12 14:13:19.000000000 +0100 +++ lib/font/include/fontmisc.h 2004-11-25 14:40:05.551224905 +0100 @@ -78,11 +78,43 @@ extern char *NameForAtom (); -#define xalloc(n) Xalloc ((unsigned) n) +#define xalloc(n) Xalloc ((unsigned long) n) #define xfree(p) Xfree ((pointer) p) -#define xrealloc(p,n) Xrealloc ((pointer)p,n) +#define xrealloc(p,n) Xrealloc ((pointer)p,(unsigned long)n) #define lowbit(x) ((x) & (~(x) + 1)) +/* Xalloc(), Xrealloc(), and Xfree() */ + +extern unsigned long +*Xalloc( +#if NeedFunctionPrototypes + unsigned long /*amount*/ +#endif +); + +extern unsigned long +*Xrealloc( +#if NeedFunctionPrototypes + pointer /*ptr*/, + unsigned long /*amount*/ +#endif +); + +extern void Xfree( +#if NeedFunctionPrototypes + pointer /*ptr*/ +#endif +); + +extern void +CopyISOLatin1Lowered( +#if NeedFunctionPrototypes + char *dst, + char *src, + int len +#endif +); + #define assert(x) extern void