diff options
author | Gurucharan Shetty <gshetty@nicira.com> | 2014-01-10 08:33:15 -0800 |
---|---|---|
committer | Gurucharan Shetty <gshetty@nicira.com> | 2014-01-24 08:32:23 -0800 |
commit | d6056bc7ce15e7b4d1950fda5ad0ee4df7d6a04b (patch) | |
tree | 8622f73cb3b490f9838cb09e0f070a6c40644dd5 /lib/daemon.h | |
parent | 5a6af13f9645865b21c144a5a46aed79f8d8f2e5 (diff) | |
download | openvswitch-d6056bc7ce15e7b4d1950fda5ad0ee4df7d6a04b.tar.gz |
daemon: Cleanup some functions.
Some functions are unused and some functions can be
declared as static.
Signed-off-by: Gurucharan Shetty <gshetty@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'lib/daemon.h')
-rw-r--r-- | lib/daemon.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/daemon.h b/lib/daemon.h index 14436f311..57f851401 100644 --- a/lib/daemon.h +++ b/lib/daemon.h @@ -56,26 +56,17 @@ daemon_set_monitor(); \ break; -char *make_pidfile_name(const char *name); void set_pidfile(const char *name); -const char *get_pidfile(void); void set_no_chdir(void); -bool is_chdir_enabled(void); void set_detach(void); bool get_detach(void); void daemon_set_monitor(void); void daemon_save_fd(int fd); -void remove_pidfile_from_unlink(void); -void add_pidfile_to_unlink(void); void daemonize(void); void daemonize_start(void); void daemonize_complete(void); void ignore_existing_pidfile(void); void daemon_usage(void); pid_t read_pidfile(const char *name); -pid_t read_pidfile_if_exists(const char *name); - -pid_t fork_and_clean_up(void); -void daemonize_post_detach(void); #endif /* daemon.h */ |