aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2011-08-03 17:01:54 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2011-08-03 17:01:54 +0000
commit80cd69fa3bd7706ba3f22e6a284361fc83de740d (patch)
treee033dce48d90c4633a1ad6f8e504ac297d8a6455
parent3c9f00521689e176042b2a15ca6288f7020e57fc (diff)
downloadgdbm-80cd69fa3bd7706ba3f22e6a284361fc83de740d.tar.gz
gdbm-80cd69fa3bd7706ba3f22e6a284361fc83de740d.tar.bz2
Somehow forgotten to commit.
-rw-r--r--src/version.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/version.c b/src/version.c
index 8484a76..6f8bc50 100644
--- a/src/version.c
+++ b/src/version.c
@@ -18,6 +18,7 @@
along with GDBM. If not, see <http://www.gnu.org/licenses/>. */
#include "autoconf.h"
+#include "gdbm.h"
/* Keep a string with the version number in it.
The DIST_DATE magic below is replaced by the actual date when
@@ -27,4 +28,9 @@ const char * gdbm_version = "GDBM version " PACKAGE_VERSION ". "
#if defined(__STDC__) && defined(__DATE__) && defined(__TIME__)
" (built " __DATE__ " " __TIME__ ")"
#endif
- ;
+;
+int const gdbm_version_number[3] = {
+ GDBM_VERSION_MAJOR,
+ GDBM_VERSION_MINOR,
+ GDBM_VERSION_PATCH
+};

Return to:

Send suggestions and report system problems to the System administrator.