Removed more stray files.

This commit is contained in:
Ward Fisher 2016-11-15 14:32:14 -07:00
parent da48bc61e8
commit 638393fdfb
2 changed files with 0 additions and 41 deletions

View File

@ -1,33 +0,0 @@
#include <stdio.h>
#include <stdlib.h>
#define is_aligned(POINTER, BYTE_COUNT) \
(((uintptr_t)(const void *)(POINTER)) % (BYTE_COUNT) == 0)
#ifndef uintptr_t
#define uintptr_t int
#endif
typedef struct {
float lat;
float lon;
char* stid;
double time;
float temp;
} obs_t;
int main (int argc, char **argv) {
obs_t p;
printf("Sizeof(int): %d\n",sizeof(int));
printf("IS_ALIGNED (p,4): %d\n",is_aligned(&p,4u));
printf("IS_ALIGNED (p,8): %d\n",is_aligned(&p,8u));
printf("IS_ALIGNED (p,16): %d\n",is_aligned(&p,16u));
printf("IS_ALIGNED (p,32): %d\n",is_aligned(&p,32u));
printf("IS_ALIGNED (p,64): %d\n",is_aligned(&p,64u));
printf("Finished.\n");
}

View File

@ -1,8 +0,0 @@
break semantics.c:641
command
watch offset
end
run -k nc4 gh323.cdl