X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=version.c;h=d057f9c3b8310505215ba9c183a7deac710290a9;hp=3a190e634a6a4445edb200ecb34b205dbf762def;hb=62c0894fbb589dd45e69b7d9ef1fd152a9960d62;hpb=bfdd36f2879b8dee1f6d3330bc49fbb5644d3caf diff --git a/version.c b/version.c index 3a190e63..d057f9c3 100644 --- a/version.c +++ b/version.c @@ -1,29 +1,11 @@ -/* - * Copyright (C) 2013-2014 Andre Noll - * - * Licensed under the GPL v2. For licencing details see COPYING. - */ +/* Copyright (C) 2013 Andre Noll , see file COPYING. */ /** \file version.c Some helpers for printing version and copyright strings. */ #include "para.h" #include "version.h" - -/** \file version.h Macros for printing the version string. */ - #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. * @@ -57,10 +39,10 @@ const char *version_text(const char *pfx) static char buf[512]; snprintf(buf, sizeof(buf) - 1, "%s\n" - "Copyright (C) 2014 Andre Noll\n" + "Copyright (C) " COPYRIGHT_YEAR " Andre Noll\n" "This is free software with ABSOLUTELY NO WARRANTY." " See COPYING for details.\n" - "Report bugs to .\n" + "Report bugs to .\n" "build date: " BUILD_DATE ",\n" "build system: " UNAME_RS ",\n" "compiler: " CC_VERSION ".\n",