summaryrefslogtreecommitdiff
path: root/Build/source/utils/dialog/dialog-1.1-20080819/version.c
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/utils/dialog/dialog-1.1-20080819/version.c')
-rw-r--r--Build/source/utils/dialog/dialog-1.1-20080819/version.c33
1 files changed, 33 insertions, 0 deletions
diff --git a/Build/source/utils/dialog/dialog-1.1-20080819/version.c b/Build/source/utils/dialog/dialog-1.1-20080819/version.c
new file mode 100644
index 00000000000..bb78cd11822
--- /dev/null
+++ b/Build/source/utils/dialog/dialog-1.1-20080819/version.c
@@ -0,0 +1,33 @@
+/*
+ * $Id: version.c,v 1.5 2006/12/27 00:50:24 tom Exp $
+ *
+ * version.c -- dialog's version string
+ *
+ * Copyright 2005,2006 Thomas E. Dickey
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License, version 2.1
+ * as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program; if not, write to
+ * Free Software Foundation, Inc.
+ * 51 Franklin St., Fifth Floor
+ * Boston, MA 02110, USA.
+ */
+#include <dialog.h>
+
+#define quoted(a) #a
+#define concat(a,b) a "-" quoted(b)
+#define DLG_VERSION concat(DIALOG_VERSION,DIALOG_PATCHDATE)
+
+char *
+dialog_version(void)
+{
+ return DLG_VERSION;
+}