slim_get.c   slim_get.c 
skipping to change at line 13 skipping to change at line 13
#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 <stdio.h> #include <stdio.h>
#include <errno.h> #include <errno.h>
#include <unistd.h>
int main(void) int main(void)
{ {
#ifndef TEST_SLIM
return 77;
#else
const char* filedir = __TEST__ "dirfile"; const char* filedir = __TEST__ "dirfile";
const char* format = __TEST__ "dirfile/format"; const char* format = __TEST__ "dirfile/format";
const char* data = __TEST__ "dirfile/data"; const char* data = __TEST__ "dirfile/data";
const char* slimdata = __TEST__ "dirfile/data.slm"; const char* slimdata = __TEST__ "dirfile/data.slm";
const char* format_data = "data RAW UINT16 8\n"; const char* format_data = "data RAW UINT16 8\n";
uint16_t c[8]; uint16_t c[8];
char command[4096]; char command[4096];
uint16_t data_data[256]; uint16_t data_data[256];
int fd, i, n, error, r = 0; int fd, i, n, error, r = 0;
DIRFILE *D; DIRFILE *D;
skipping to change at line 74 skipping to change at line 76
CHECKI(error,0); CHECKI(error,0);
CHECKI(n,8); CHECKI(n,8);
for (i = 0; i < 8; ++i) for (i = 0; i < 8; ++i)
CHECKUi(i,c[i],40 + i); CHECKUi(i,c[i],40 + i);
#else #else
CHECKI(error, GD_E_UNSUPPORTED); CHECKI(error, GD_E_UNSUPPORTED);
CHECKI(n,0); CHECKI(n,0);
#endif #endif
return r; return r;
#endif
} }
 End of changes. 3 change blocks. 
1 lines changed or deleted 4 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/