version: use printf() with a static string, compiler changes this into puts() automatically, saves additional 20 bytes
This commit is contained in:
parent
3734aaecbd
commit
1f7fe26dd9
1 changed files with 2 additions and 3 deletions
|
@ -21,7 +21,7 @@
|
|||
void
|
||||
lif_common_version(void)
|
||||
{
|
||||
printf("%s %s\n"
|
||||
printf(PACKAGE_NAME " " PACKAGE_VERSION "\n"
|
||||
"\n"
|
||||
"Copyright (c) 2020 Ariadne Conill <ariadne@dereferenced.org>\n"
|
||||
"Copyright (c) 2020 Maximilian Wilhelm <max@sdn.clinic>\n"
|
||||
|
@ -34,8 +34,7 @@ lif_common_version(void)
|
|||
"implied. In no event shall the authors be liable for any damages arising\n"
|
||||
"from the use of this software.\n"
|
||||
"\n"
|
||||
"Report bugs at <%s>.\n",
|
||||
PACKAGE_NAME, PACKAGE_VERSION, PACKAGE_BUGREPORT);
|
||||
"Report bugs at <" PACKAGE_BUGREPORT ">.\n");
|
||||
|
||||
exit(EXIT_SUCCESS);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue