X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=version.c;h=e7177d2fc809f137628b7b74ecb4552d104df7d6;hb=027f2c12;hp=ad1334634238b749b1089cd8271e6cbf263eece1;hpb=d60dae8066b7965df66ba68f9f98ea1222b4fc49;p=paraslash.git diff --git a/version.c b/version.c index ad133463..e7177d2f 100644 --- a/version.c +++ b/version.c @@ -1,4 +1,13 @@ +/* + * Copyright (C) 2013-2014 Andre Noll + * + * Licensed under the GPL v2. For licencing details see 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. */ @@ -10,7 +19,7 @@ * \return The string generated by the GIT-VERSION-GEN script. It is passed * as a preprocessor define during compilation. */ -const char *version_git(void) +__a_const const char *version_git(void) { return GIT_VERSION; } @@ -48,7 +57,7 @@ const char *version_text(const char *pfx) static char buf[512]; snprintf(buf, sizeof(buf) - 1, "%s\n" - "Copyright (C) 2013 Andre Noll\n" + "Copyright (C) 2013-2014 Andre Noll\n" "This is free software with ABSOLUTELY NO WARRANTY." " See COPYING for details.\n" "Report bugs to .\n"