-/*
- * Copyright (C) 2013-2014 Andre Noll <maan@systemlinux.org>
- *
- * Licensed under the GPL v2. For licencing details see COPYING.
- */
+/* Copyright (C) 2013 Andre Noll <maan@tuebingen.mpg.de>, see file COPYING. */
/** \file version.c Some helpers for printing version and copyright strings. */
#include "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.
*
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 <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",