summaryrefslogtreecommitdiffstats
path: root/bin/ps/extern.h
diff options
context:
space:
mode:
authorjmallett <jmallett@FreeBSD.org>2002-06-06 21:21:25 +0000
committerjmallett <jmallett@FreeBSD.org>2002-06-06 21:21:25 +0000
commitd11731ff431780a9d55268d2c478bdd517945657 (patch)
treed00aa5fbf24ccd496e1bb92817a26f8752ec7a80 /bin/ps/extern.h
parentbecd81c4a9315cc0cfd6078a89434a5ed7091e28 (diff)
downloadFreeBSD-src-d11731ff431780a9d55268d2c478bdd517945657.zip
FreeBSD-src-d11731ff431780a9d55268d2c478bdd517945657.tar.gz
Use a global `now' variable for the current time, and initialise it at
startup, right after calling setlocale(3).
Diffstat (limited to 'bin/ps/extern.h')
-rw-r--r--bin/ps/extern.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/ps/extern.h b/bin/ps/extern.h
index 927343c..4bae792 100644
--- a/bin/ps/extern.h
+++ b/bin/ps/extern.h
@@ -42,6 +42,7 @@ struct varent;
extern fixpt_t ccpu;
extern int cflag, eval, fscale, mempages, nlistread, rawcpu;
extern int sumrusage, termwidth, totwidth;
+extern time_t now;
extern VARENT *vhead;
__BEGIN_DECLS
OpenPOWER on IntegriCloud