summaryrefslogtreecommitdiff
path: root/main.h
diff options
context:
space:
mode:
authorJeremie Koenig <jk@jk.fr.eu.org>2010-08-22 21:23:36 +0000
committerJeremie Koenig <jk@jk.fr.eu.org>2010-08-30 14:29:51 +0200
commit8b8965bcc85053857b84efd5a0ca63976870de14 (patch)
treece96c6b2241008e8cfb0f60ba851120e9f54fb5d /main.h
parenta22115eca05fd87748aed2ffde8caeb5b71f1c6d (diff)
Add a fake-self option to control the self symlink
* main.c (argp_parse, main): Add the --fake-self option. * main.h: Publish it. * rootdir.c (rootdir_gc_fakeself, rootdir_entries, rootdir_create_node): Use it.
Diffstat (limited to 'main.h')
-rw-r--r--main.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.h b/main.h
index 6669d321..361380b3 100644
--- a/main.h
+++ b/main.h
@@ -1,3 +1,4 @@
/* Startup options */
extern int opt_clk_tck;
extern mode_t opt_stat_mode;
+extern pid_t opt_fake_self;