Changeset View
Changeset View
Standalone View
Standalone View
lib/libfstyp/hammer2.c
- This file was moved from usr.sbin/fstyp/hammer2.c.
Show All 37 Lines | |||||
#include <err.h> | #include <err.h> | ||||
#include <assert.h> | #include <assert.h> | ||||
#include <sys/types.h> | #include <sys/types.h> | ||||
#include "hammer2_disk.h" | #include "hammer2_disk.h" | ||||
#include "fstyp.h" | #include "fstyp.h" | ||||
#include "fstyp_p.h" | |||||
static hammer2_volume_data_t* | static hammer2_volume_data_t* | ||||
read_voldata(FILE *fp) | read_voldata(FILE *fp) | ||||
{ | { | ||||
hammer2_volume_data_t *voldata; | hammer2_volume_data_t *voldata; | ||||
voldata = read_buf(fp, 0, sizeof(*voldata)); | voldata = read_buf(fp, 0, sizeof(*voldata)); | ||||
if (voldata == NULL) | if (voldata == NULL) | ||||
▲ Show 20 Lines • Show All 234 Lines • Show Last 20 Lines |