Removed unused function.
Showing
1 changed file
with
0 additions
and
17 deletions
... | @@ -93,7 +93,6 @@ static void comsat_daemon (int _port); | ... | @@ -93,7 +93,6 @@ static void comsat_daemon (int _port); |
93 | static int comsat_main (int fd); | 93 | static int comsat_main (int fd); |
94 | static void notify_user (const char *user, const char *device, const char *path, off_t offset); | 94 | static void notify_user (const char *user, const char *device, const char *path, off_t offset); |
95 | static int find_user (const char *name, char *tty); | 95 | static int find_user (const char *name, char *tty); |
96 | static void help (void); | ||
97 | static char *mailbox_path (const char *user); | 96 | static char *mailbox_path (const char *user); |
98 | static void change_user (const char *user); | 97 | static void change_user (const char *user); |
99 | 98 | ||
... | @@ -578,22 +577,6 @@ change_user (const char *user) | ... | @@ -578,22 +577,6 @@ change_user (const char *user) |
578 | username = user; | 577 | username = user; |
579 | } | 578 | } |
580 | 579 | ||
581 | void | ||
582 | help () | ||
583 | { | ||
584 | printf ("Usage: comsatd [OPTIONS]\n"); | ||
585 | printf ("Options are:\n"); | ||
586 | printf (" -c, --config=PATH read configuration from the file\n"); | ||
587 | printf (" -d, --daemon run in daemon mode\n"); | ||
588 | printf (" -h, --help display this help and exit\n"); | ||
589 | printf (" -i, --inetd run in inetd mode (default)\n"); | ||
590 | printf (" -p, --port=PORT specify port to listen on, implies -d\n"); | ||
591 | printf (" -t, --timeout=VALUE set idle timeout (implies -i)\n"); | ||
592 | printf (" -v, --version display version information and exit\n"); | ||
593 | printf ("\nReport bugs to bug-mailutils@gnu.org\n"); | ||
594 | exit (EXIT_SUCCESS); | ||
595 | } | ||
596 | |||
597 | char * | 580 | char * |
598 | mailbox_path (const char *user) | 581 | mailbox_path (const char *user) |
599 | { | 582 | { | ... | ... |
-
Please register or sign in to post a comment