X-Git-Url: https://git.saurik.com/apple/system_cmds.git/blobdiff_plain/34d340d711a2b033f5da480ed7b5eb147679a588..ef8ad44b9b5d9c6d8c0fa5b5494f449fb6717387:/sar.tproj/sar.c diff --git a/sar.tproj/sar.c b/sar.tproj/sar.c index 1f046c0..678914c 100644 --- a/sar.tproj/sar.c +++ b/sar.tproj/sar.c @@ -19,7 +19,7 @@ */ /* - cc -Wall -Wno-long-double -I. -I ../sadc.tproj -O -o sar sar.c + cc -Wall -I. -I ../sadc.tproj -O -o sar sar.c */ #include @@ -148,7 +148,7 @@ static void read_record_hdr(struct record_hdr *hdr, int writeflag); static void read_record_data(char *buf, size_t size, int writeflag); static void write_record_hdr(struct record_hdr *hdr); static void write_record_data(char *buf, size_t size); -static long convert_hms(char *string); +static time_t convert_hms(char *string); static char *get_hms_string(time_t, char *); static int find_restart_header(struct record_hdr *); static void print_all_column_headings (time_t timestamp);