projects
/
paraslash.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gui: Do not decode the pressed key multiple times.
[paraslash.git]
/
version.c
diff --git
a/version.c
b/version.c
index ff6b7cabb57f7b0336e2a4bb0d55b50edc6c8021..d057f9c3b8310505215ba9c183a7deac710290a9 100644
(file)
--- a/
version.c
+++ b/
version.c
@@
-1,27
+1,18
@@
-#include "para.h"
+/* Copyright (C) 2013 Andre Noll <maan@tuebingen.mpg.de>, see file COPYING. */
-/** \file version.
h Macros for printing the version string
. */
+/** \file version.
c Some helpers for printing version and copyright strings
. */
+#include "para.h"
+#include "version.h"
#include "git-version.h"
#include "git-version.h"
-/**
- * Get the raw git version string
- *
- * \return The string generated by the GIT-VERSION-GEN script. It is passed
- * as a preprocessor define during compilation.
- */
-__a_const const char *version_git(void)
-{
- return GIT_VERSION;
-}
-
/**
* Get the version string for an executable.
*
* \param pfx The program name (without the leading "para_").
*
/**
* Get the version string for an executable.
*
* \param pfx The program name (without the leading "para_").
*
- * \return A statically allocated string which contains the program name
, the
- *
git version and the codename
. It must not be freed by the caller.
+ * \return A statically allocated string which contains the program name
and
+ *
the git version
. It must not be freed by the caller.
*/
const char *version_single_line(const char *pfx)
{
*/
const char *version_single_line(const char *pfx)
{
@@
-48,10
+39,10
@@
const char *version_text(const char *pfx)
static char buf[512];
snprintf(buf, sizeof(buf) - 1, "%s\n"
static char buf[512];
snprintf(buf, sizeof(buf) - 1, "%s\n"
- "Copyright (C)
2013
Andre Noll\n"
+ "Copyright (C)
" COPYRIGHT_YEAR "
Andre Noll\n"
"This is free software with ABSOLUTELY NO WARRANTY."
" See COPYING for details.\n"
"This is free software with ABSOLUTELY NO WARRANTY."
" See COPYING for details.\n"
- "Report bugs to <maan@
systemlinux.org
>.\n"
+ "Report bugs to <maan@
tuebingen.mpg.de
>.\n"
"build date: " BUILD_DATE ",\n"
"build system: " UNAME_RS ",\n"
"compiler: " CC_VERSION ".\n",
"build date: " BUILD_DATE ",\n"
"build system: " UNAME_RS ",\n"
"compiler: " CC_VERSION ".\n",