MCPcopy Create free account
hub / github.com/OpenNFS/OpenNFS / ENTRYHDR

Class ENTRYHDR

tools/fshtool.c:83–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81 if (sizeof(short)!=2) { printf("Problem: short is not 16-bit\n"); abandon_ship(); }
82 if ((sizeof(struct BMPHEAD)!=52)||(sizeof(struct FSH_HDR)!=16)||
83 (sizeof(struct BMPDIR)!=8)||(sizeof(struct ENTRYHDR)!=16))
84 { printf("Problem: structs are not correctly packed\n"); abandon_ship(); }
85 x=0;
86 *((char *)(&x))=1;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected