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
Changed type to avoid warning
[yaz-moved-to-github.git]
/
src
/
version.c
diff --git
a/src/version.c
b/src/version.c
index
0b5256d
..
c8b0ae1
100644
(file)
--- a/
src/version.c
+++ b/
src/version.c
@@
-1,8
+1,6
@@
-/*
- * Copyright (C) 1995-2007, Index Data ApS
+/* This file is part of the YAZ toolkit.
+ * Copyright (C) 1995-2008 Index Data
* See the file LICENSE for details.
* See the file LICENSE for details.
- *
- * $Id: version.c,v 1.6 2007-01-13 08:57:47 adam Exp $
*/
/**
*/
/**
@@
-17,12
+15,12
@@
#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;
}
/*