put_endian64.c   put_endian64.c 
skipping to change at line 12 skipping to change at line 12
#include "test.h" #include "test.h"
#include <inttypes.h> #include <inttypes.h>
#include <stdlib.h> #include <stdlib.h>
#include <sys/types.h> #include <sys/types.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <fcntl.h> #include <fcntl.h>
#include <string.h> #include <string.h>
#include <errno.h> #include <errno.h>
#include <stdio.h> #include <stdio.h>
#include <unistd.h>
static int BigEndian(void) static int BigEndian(void)
{ {
union { union {
long int li; long int li;
char ch[sizeof(long int)]; char ch[sizeof(long int)];
} un; } un;
un.li = 1; un.li = 1;
return (un.ch[sizeof(long int) - 1] == 1); return (un.ch[sizeof(long int) - 1] == 1);
} }
 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/