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
commit9ab114b6a7e0723135555ed202886f47c032f511 (patch)
tree5bf42de63a6a0d579e32f861509a7cab6baef50b /main.h
parent24fa47890c0d180b807de8abb1a284755cba9c96 (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 00000000..4b2ef9a1
--- /dev/null
+++ b/main.h
@@ -0,0 +1,2 @@
+/* Startup options */
+extern int opt_clk_tck;