Update source headers for 2008. Omit CVS ID keyword subst.
[yaz-moved-to-github.git] / src / version.c
1 /* This file is part of the YAZ toolkit.
2  * Copyright (C) 1995-2008 Index Data
3  * See the file LICENSE for details.
4  */
5
6 /**
7  * \file version.c
8  * \brief Implements YAZ version utilities.
9  */
10
11 #if HAVE_CONFIG_H
12 #include <config.h>
13 #endif
14
15 #include <string.h>
16 #include <yaz/yaz-version.h>
17
18 unsigned long yaz_version(char *version_str, char *sys_str)
19 {
20     if (version_str)
21         strcpy(version_str, YAZ_VERSION);
22     if (sys_str)
23         strcpy(sys_str, "");
24     return YAZ_VERSIONL;
25 }
26 /*
27  * Local variables:
28  * c-basic-offset: 4
29  * indent-tabs-mode: nil
30  * End:
31  * vim: shiftwidth=4 tabstop=8 expandtab
32  */
33