summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-03-21 11:39:28 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-03-21 11:39:28 +1000
commitda5e01d796fe261df82b3145bb432937a3375696 (patch)
tree7da3a9c4b3f06780f92d3df38e16ea2113350ee4 /src
parent815e3d79d3f191efbd1f1f0567b512945c0bb070 (diff)
Revert "Remove some file include idiocy."
Diffstat (limited to 'src')
-rw-r--r--src/tet3/apilib/libvers.c39
-rw-r--r--src/tet3/apilib/version.c65
2 files changed, 66 insertions, 38 deletions
diff --git a/src/tet3/apilib/libvers.c b/src/tet3/apilib/libvers.c
index 366dec0d..d1df5b28 100644
--- a/src/tet3/apilib/libvers.c
+++ b/src/tet3/apilib/libvers.c
@@ -69,43 +69,6 @@ MODIFICATIONS:
** apilib/version.c contains a definition of TET_VERSION_STRINGS in terms
** of the #defines supplied in this file
*/
-
-#ifndef lint
-static char sccsid1[] = "@(#)version.c 1.1 (98/09/01) TET3 release 3.3";
-#endif
-
-/************************************************************************
-
-SCCS: @(#)version.c 1.1 98/09/01 TETware release 3.3
-NAME: version.c
-PRODUCT: TETware
-AUTHOR: Andrew Dingwall, UniSoft Ltd.
-DATE CREATED: July 1998
-
-DESCRIPTION:
- library version strings
-
- this file in #include'd in apilib/libvers.c and tcm/ckversion.c
-
- the file that includes this one should define TET_VERSION,
- TET_VERSION_STRINGS and TET_VERSION_STORAGE_CLASS
-
-MODIFICATIONS:
-
-************************************************************************/
-
-/* the version strings themselves */
-TET_VERSION_STORAGE_CLASS char *TET_VERSION_STRINGS[] = {
-
-
-#ifdef TET_THREADS
- "Thread-safe",
-#else
- "Single-threaded",
-#endif
-
- TET_VERSION,
- (char *) 0
-};
+#include "version.c"
diff --git a/src/tet3/apilib/version.c b/src/tet3/apilib/version.c
new file mode 100644
index 00000000..fbe13222
--- /dev/null
+++ b/src/tet3/apilib/version.c
@@ -0,0 +1,65 @@
+/*
+ * SCCS: @(#)version.c 1.1 (98/09/01)
+ *
+ * UniSoft Ltd., London, England
+ *
+ * Copyright (c) 1998 The Open Group
+ * All rights reserved.
+ *
+ * No part of this source code may be reproduced, stored in a retrieval
+ * system, or transmitted, in any form or by any means, electronic,
+ * mechanical, photocopying, recording or otherwise, except as stated
+ * in the end-user licence agreement, without the prior permission of
+ * the copyright owners.
+ * A copy of the end-user licence agreement is contained in the file
+ * Licence which accompanies this distribution.
+ *
+ * Motif, OSF/1, UNIX and the "X" device are registered trademarks and
+ * IT DialTone and The Open Group are trademarks of The Open Group in
+ * the US and other countries.
+ *
+ * X/Open is a trademark of X/Open Company Limited in the UK and other
+ * countries.
+ *
+ */
+
+#ifndef lint
+static char sccsid1[] = "@(#)version.c 1.1 (98/09/01) TET3 release 3.3";
+#endif
+
+/************************************************************************
+
+SCCS: @(#)version.c 1.1 98/09/01 TETware release 3.3
+NAME: version.c
+PRODUCT: TETware
+AUTHOR: Andrew Dingwall, UniSoft Ltd.
+DATE CREATED: July 1998
+
+DESCRIPTION:
+ library version strings
+
+ this file in #include'd in apilib/libvers.c and tcm/ckversion.c
+
+ the file that includes this one should define TET_VERSION,
+ TET_VERSION_STRINGS and TET_VERSION_STORAGE_CLASS
+
+MODIFICATIONS:
+
+************************************************************************/
+
+
+/* the version strings themselves */
+TET_VERSION_STORAGE_CLASS char *TET_VERSION_STRINGS[] = {
+
+
+#ifdef TET_THREADS
+ "Thread-safe",
+#else
+ "Single-threaded",
+#endif
+
+ TET_VERSION,
+ (char *) 0
+};
+
+