projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Version 5.4.1
[yaz-moved-to-github.git]
/
src
/
version.c
diff --git
a/src/version.c
b/src/version.c
index
a819d2c
..
71d9e54
100644
(file)
--- a/
src/version.c
+++ b/
src/version.c
@@
-1,10
+1,13
@@
-/*
- * Copyright (c) 1995-2003, Index Data.
+/* This file is part of the YAZ toolkit.
+ * Copyright (C) Index Data
* See the file LICENSE for details.
* See the file LICENSE for details.
- * Sebastian Hammer, Adam Dickmeiss
- *
- * $Id: version.c,v 1.1 2003-10-27 12:21:36 adam Exp $
*/
*/
+
+/**
+ * \file version.c
+ * \brief Implements YAZ version utilities.
+ */
+
#if HAVE_CONFIG_H
#include <config.h>
#endif
#if HAVE_CONFIG_H
#include <config.h>
#endif
@@
-12,11
+15,20
@@
#include <string.h>
#include <yaz/yaz-version.h>
#include <string.h>
#include <yaz/yaz-version.h>
-unsigned long yaz_version(char *version_str, char *sys_str)
+unsigned long yaz_version(char *version_str, char *sha1_str)
{
if (version_str)
strcpy(version_str, YAZ_VERSION);
{
if (version_str)
strcpy(version_str, YAZ_VERSION);
- if (sys_str)
- strcpy(sys_str, "");
+ if (sha1_str)
+ strcpy(sha1_str, YAZ_VERSION_SHA1);
return YAZ_VERSIONL;
}
return YAZ_VERSIONL;
}
+/*
+ * Local variables:
+ * c-basic-offset: 4
+ * c-file-style: "Stroustrup"
+ * indent-tabs-mode: nil
+ * End:
+ * vim: shiftwidth=4 tabstop=8 expandtab
+ */
+