summaryrefslogtreecommitdiff
path: root/main.h
diff options
context:
space:
mode:
authorJeremie Koenig <jk@jk.fr.eu.org>2010-08-22 20:17:54 +0000
committerJeremie Koenig <jk@jk.fr.eu.org>2010-08-30 14:29:51 +0200
commitb3427143ae8dc628cb3748da7618700c6bd7ac9e (patch)
treeec004ed9e346a6feb8edb3b3cb50f7eb03572851 /main.h
parentf9ddb679942b6f4309d05b5462fe5cbb3d0a2beb (diff)
Add --clk-tck to set the clock unit
* main.c (argp_parser, main): Add and parse the --clk-tck option. * main.h: Publish opt_clk_tck. * process.c (sc_tc): Use the user-provided clock frequency. * rootdir.c (rootdir_gc_stat): Likewise.
Diffstat (limited to 'main.h')
-rw-r--r--main.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.h b/main.h
new file mode 100644
index 0000000..4b2ef9a
--- /dev/null
+++ b/main.h
@@ -0,0 +1,2 @@
+/* Startup options */
+extern int opt_clk_tck;