time.c (0b8224d1cc9dc6c9778ba04a75b2c8d47e5d7481) time.c (6e824f3713011f7955a4f88fb16445e8e2cbe72c)
1/*-
2 * SPDX-License-Identifier: BSD-3-Clause
3 *
4 * Copyright (c) 1987, 1988, 1993
5 * The Regents of the University of California. All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

--- 40 unchanged lines hidden (view full) ---

49
50static int getstathz(void);
51static void humantime(FILE *, long, long);
52static void showtime(FILE *, struct timespec *, struct timespec *,
53 struct rusage *);
54static void siginfo(int);
55static void usage(void) __dead2;
56
1/*-
2 * SPDX-License-Identifier: BSD-3-Clause
3 *
4 * Copyright (c) 1987, 1988, 1993
5 * The Regents of the University of California. All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

--- 40 unchanged lines hidden (view full) ---

49
50static int getstathz(void);
51static void humantime(FILE *, long, long);
52static void showtime(FILE *, struct timespec *, struct timespec *,
53 struct rusage *);
54static void siginfo(int);
55static void usage(void) __dead2;
56
57static sig_atomic_t siginfo_recvd;
57static volatile sig_atomic_t siginfo_recvd;
58static char decimal_point;
59static struct timespec before_ts;
60static int hflag, pflag;
61
62int
63main(int argc, char **argv)
64{
65 int aflag, ch, lflag, status;

--- 234 unchanged lines hidden ---
58static char decimal_point;
59static struct timespec before_ts;
60static int hflag, pflag;
61
62int
63main(int argc, char **argv)
64{
65 int aflag, ch, lflag, status;

--- 234 unchanged lines hidden ---