Ok, no need for a separate version function.

This is just redundant metadata. Please add Java comment meta classes too.
master
Christoph Lohmann 2016-01-30 09:50:18 +01:00
parent 0cd5117a2c
commit 82335583eb
1 changed files with 1 additions and 8 deletions

9
st.c
View File

@ -486,7 +486,6 @@ static void *xrealloc(void *, size_t);
static char *xstrdup(char *); static char *xstrdup(char *);
static void usage(void); static void usage(void);
static void version(void);
static void (*handler[LASTEvent])(XEvent *) = { static void (*handler[LASTEvent])(XEvent *) = {
[KeyPress] = kpress, [KeyPress] = kpress,
@ -4342,12 +4341,6 @@ usage(void)
" [stty_args ...]\n", argv0, argv0); " [stty_args ...]\n", argv0, argv0);
} }
void
version(void)
{
die("%s " VERSION " (c) 2010-2016 st engineers\n", argv0);
}
int int
main(int argc, char *argv[]) main(int argc, char *argv[])
{ {
@ -4395,7 +4388,7 @@ main(int argc, char *argv[])
opt_embed = EARGF(usage()); opt_embed = EARGF(usage());
break; break;
case 'v': case 'v':
version(); die("%s " VERSION " (c) 2010-2016 st engineers\n", argv0);
break; break;
default: default:
usage(); usage();