OSSP CVS Repository

ossp - Difference in ossp-pkg/iselect/iselect_version.c versions 1.3 and 1.4
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/iselect/iselect_version.c 1.3 -> 1.4

--- iselect_version.c    2000/07/25 11:53:25     1.3
+++ iselect_version.c    2004/09/11 15:18:49     1.4
@@ -1,31 +1,46 @@
 /*
-**  iselect_version.c -- Version File (automatically generated and maintained by NEWVERS)
+**  iselect_version.c -- Version Information for iSelect (syntax: C/C++)
+**  [automatically generated and maintained by GNU shtool]
 */
 
-#ifdef AS_HEADER
+#ifdef _ISELECT_VERSION_C_AS_HEADER_
 
-#ifndef ISELECT_VERSION_C
-#define ISELECT_VERSION_C
-#define iSelect_VERSION 0x102200
-extern const int  iSelect_Version;
-extern const char iSelect_VersionStr[];
-extern const char iSelect_Hello[];
-extern const char iSelect_GNUVersion[];
-extern const char iSelect_WhatID[];
-extern const char iSelect_RCSIdentID[];
-extern const char iSelect_WebID[];
-extern const char iSelect_PlainID[];
-#endif
-
-#else
-
-const int  iSelect_Version      = 0x102200;
-const char iSelect_VersionStr[] = "1.2.0 (31-Mar-1999)";
-const char iSelect_Hello[]      = "This is iSelect Version 1.2.0 (31-Mar-1999)";
-const char iSelect_GNUVersion[] = "iSelect Version 1.2.0";
-const char iSelect_WhatID[]     = "@(#)iSelect Version 1.2.0 (31-Mar-1999)";
-const char iSelect_RCSIdentID[] = "$Id: iselect_version.c,v 1.3 2000/07/25 11:53:25 rse Exp $";
-const char iSelect_WebID[]      = "iSelect/1.2.0";
-const char iSelect_PlainID[]    = "1.2.0";
+#ifndef _ISELECT_VERSION_C_
+#define _ISELECT_VERSION_C_
+
+#define ISELECT_VERSION 0x103200
+
+typedef struct {
+    const int   v_hex;
+    const char *v_short;
+    const char *v_long;
+    const char *v_tex;
+    const char *v_gnu;
+    const char *v_web;
+    const char *v_sccs;
+    const char *v_rcs;
+} iselect_version_t;
+
+extern iselect_version_t iselect_version;
+
+#endif /* _ISELECT_VERSION_C_ */
+
+#else /* _ISELECT_VERSION_C_AS_HEADER_ */
+
+#define _ISELECT_VERSION_C_AS_HEADER_
+#include "iselect_version.c"
+#undef  _ISELECT_VERSION_C_AS_HEADER_
+
+iselect_version_t iselect_version = {
+    0x103200,
+    "1.3.0",
+    "1.3.0 (11-Sep-2004)",
+    "This is iSelect, Version 1.3.0 (11-Sep-2004)",
+    "iSelect 1.3.0 (11-Sep-2004)",
+    "iSelect/1.3.0",
+    "@(#)iSelect 1.3.0 (11-Sep-2004)",
+    "$Id: iselect_version.c,v 1.4 2004/09/11 15:18:49 rse Exp $"
+};
+
+#endif /* _ISELECT_VERSION_C_AS_HEADER_ */
 
-#endif

CVSTrac 2.0.1