X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fversion.c;h=c8b0ae12508bfe0616031695686976c79b634d40;hb=ecc1ee5b177fdc11ed531dfe13b5c3aae52b2843;hp=c52a0af8c5142d972e5342fbb1bbdebcd6caf647;hpb=fb6d99a0c7e07d9cc4a315c447deaf6564a85505;p=yaz-moved-to-github.git diff --git a/src/version.c b/src/version.c index c52a0af..c8b0ae1 100644 --- a/src/version.c +++ b/src/version.c @@ -1,8 +1,6 @@ -/* - * Copyright (C) 1995-2005, Index Data ApS +/* This file is part of the YAZ toolkit. + * Copyright (C) 1995-2008 Index Data * See the file LICENSE for details. - * - * $Id: version.c,v 1.4 2005-06-25 15:46:06 adam Exp $ */ /** @@ -10,10 +8,6 @@ * \brief Implements YAZ version utilities. */ -/** - * \mainpage The YAZ Toolkit. - */ - #if HAVE_CONFIG_H #include #endif @@ -21,12 +15,12 @@ #include #include -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 (sys_str) - strcpy(sys_str, ""); + if (sha1_str) + strcpy(sha1_str, YAZ_VERSION_SHA1); return YAZ_VERSIONL; } /*