Merge branch 't/misc'
[paraslash.git] / version.c
index ff6b7cabb57f7b0336e2a4bb0d55b50edc6c8021..8526bbcc47b29d6483c13a7ed0b6885a8e6fb061 100644 (file)
--- a/version.c
+++ b/version.c
@@ -1,4 +1,13 @@
+/*
+ * Copyright (C) 2013-2014 Andre Noll <maan@systemlinux.org>
+ *
+ * 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. */
 
@@ -20,8 +29,8 @@ __a_const const char *version_git(void)
  *
  * \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)
 {
@@ -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 <maan@systemlinux.org>.\n"