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

Class FSH_HDR

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

Source from the content-addressed store, hash-verified

80 if (sizeof(int)!=4) { printf("Problem: int is not 32-bit\n"); abandon_ship(); }
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;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected