Intrinsic.h   Intrinsic.h 
skipping to change at line 1855 skipping to change at line 1855
extern char *XtRealloc( extern char *XtRealloc(
char* /* ptr */, char* /* ptr */,
Cardinal /* num */ Cardinal /* num */
); );
extern void XtFree( extern void XtFree(
char* /* ptr */ char* /* ptr */
); );
#ifndef _X_RESTRICT_KYWD
# define _X_RESTRICT_KYWD
#endif
extern Cardinal XtAsprintf(
String *new_string,
_Xconst char * _X_RESTRICT_KYWD format,
...
) _X_ATTRIBUTE_PRINTF(2,3);
#ifdef XTTRACEMEMORY #ifdef XTTRACEMEMORY
extern char *_XtMalloc( /* implementation-private */ extern char *_XtMalloc( /* implementation-private */
Cardinal /* size */, Cardinal /* size */,
char * /* file */, char * /* file */,
int /* line */ int /* line */
); );
extern char *_XtRealloc( /* implementation-private */ extern char *_XtRealloc( /* implementation-private */
char * /* ptr */, char * /* ptr */,
 End of changes. 1 change blocks. 
0 lines changed or deleted 9 lines changed or added


 IntrinsicI.h   IntrinsicI.h 
skipping to change at line 109 skipping to change at line 109
/**************************************************************** /****************************************************************
* *
* Byte utilities * Byte utilities
* *
****************************************************************/ ****************************************************************/
#define _XBCOPYFUNC _XtBcopy #define _XBCOPYFUNC _XtBcopy
#include <X11/Xfuncs.h> #include <X11/Xfuncs.h>
/* If the alignment characteristics of your machine are right, these may be
faster */
#ifdef UNALIGNED
#define XtMemmove(dst, src, size) \
if ((char *)(dst) != (char *)(src)) { \
if (size == sizeof(int)) \
*((int *) (dst)) = *((int *) (src)); \
else if (size == sizeof(char)) \
*((char *) (dst)) = *((char *) (src)); \
else if (size == sizeof(short)) \
*((short *) (dst)) = *((short *) (src)); \
else \
(void) memcpy((char *) (dst), (char *) (src), (int) (size)); \
}
#define XtBZero(dst, size) \
if (size == sizeof(int)) \
*((int *) (dst)) = 0; \
else \
bzero((char *) (dst), (int) (size))
#define XtMemcmp(b1, b2, size) \
(size == sizeof(int) ? \
*((int *) (b1)) != *((int *) (b2)) \
: memcmp((char *) (b1), (char *) (b2), (int) (size)) \
)
#else
#define XtMemmove(dst, src, size) \ #define XtMemmove(dst, src, size) \
if ((char *)(dst) != (char *)(src)) { \ if ((char *)(dst) != (char *)(src)) { \
(void) memcpy((char *) (dst), (char *) (src), (int) (size)); \ (void) memcpy((char *) (dst), (char *) (src), (int) (size)); \
} }
#define XtBZero(dst, size) \ #define XtBZero(dst, size) \
bzero((char *) (dst), (int) (size)) bzero((char *) (dst), (int) (size))
#define XtMemcmp(b1, b2, size) \ #define XtMemcmp(b1, b2, size) \
memcmp((char *) (b1), (char *) (b2), (int) (size)) memcmp((char *) (b1), (char *) (b2), (int) (size))
#endif
/**************************************************************** /****************************************************************
* *
* Stack cache allocation/free * Stack cache allocation/free
* *
****************************************************************/ ****************************************************************/
#define XtStackAlloc(size, stack_cache_array) \ #define XtStackAlloc(size, stack_cache_array) \
((size) <= sizeof(stack_cache_array) \ ((size) <= sizeof(stack_cache_array) \
? (XtPointer)(stack_cache_array) \ ? (XtPointer)(stack_cache_array) \
: XtMalloc((unsigned)(size))) : XtMalloc((unsigned)(size)))
 End of changes. 2 change blocks. 
33 lines changed or deleted 0 lines changed or added


 ShellI.h   ShellI.h 
#ifndef _XtShellInternal_h #ifndef _XtShellInternal_h
#define _XtShellInternal_h #define _XtShellInternal_h
#include <X11/Xfuncproto.h> #include <X11/Xfuncproto.h>
_XFUNCPROTOBEGIN _XFUNCPROTOBEGIN
extern void _XtShellGetCoordinates(Widget widget, Position *x, Position *y) ; extern void _XtShellGetCoordinates(Widget widget, Position *x, Position *y) ;
_XFUNCPROTOEND
#endif /* _XtShellInternal_h */ #endif /* _XtShellInternal_h */
 End of changes. 1 change blocks. 
1 lines changed or deleted 0 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/