From a1bea8f38df65ebcfaf4e809d64cb1511062a858 Mon Sep 17 00:00:00 2001
From: James Woodcock <james_woodcock@yahoo.co.uk>
Date: Thu, 9 Aug 2012 20:11:08 +0100
Subject: [PATCH] "ISO C++ forbids declaration of [X] with no type" warning
 fixes.

---
 cde/lib/tt/lib/db/tt_client_isam.h | 3 +--
 cde/lib/tt/lib/mp/mp_session.h     | 2 +-
 cde/lib/tt/mini_isam/isam.h        | 3 +--
 3 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/cde/lib/tt/lib/db/tt_client_isam.h b/cde/lib/tt/lib/db/tt_client_isam.h
index b5d4e8a..20ff4e1 100644
--- a/cde/lib/tt/lib/db/tt_client_isam.h
+++ b/cde/lib/tt/lib/db/tt_client_isam.h
@@ -57,8 +57,7 @@ extern long ldlong();
 extern float ldfloat();
 extern double lddbl();
 extern short ldshort();
-extern ldchar(), stchar(), stlong(), stint(), stdbl(), stfloat();
-extern stbin(), ldbin();
+extern int ldchar(), stchar(), stlong(), stint(), stdbl(), stfloat();
 
 extern int	iserrno;		     /* isam error number code */
 extern long	isrecnum;		     /* record number of last call */
diff --git a/cde/lib/tt/lib/mp/mp_session.h b/cde/lib/tt/lib/mp/mp_session.h
index 78ce3ef..bb3ce49 100644
--- a/cde/lib/tt/lib/mp/mp_session.h
+++ b/cde/lib/tt/lib/mp/mp_session.h
@@ -168,7 +168,7 @@ class _Tt_session : public _Tt_object {
 
 	friend class _Tt_s_mp;
 	friend class _Tt_s_session;
-	friend _Tt_mp::find_session_by_fd(int, _Tt_session_ptr &);
+	friend int _Tt_mp::find_session_by_fd(int, _Tt_session_ptr &);
 };
 
 _Tt_string _tt_session_address(_Tt_object_ptr &o);
diff --git a/cde/lib/tt/mini_isam/isam.h b/cde/lib/tt/mini_isam/isam.h
index d9afe8f..c5ce629 100644
--- a/cde/lib/tt/mini_isam/isam.h
+++ b/cde/lib/tt/mini_isam/isam.h
@@ -57,8 +57,7 @@ extern long ldlong();
 extern float ldfloat();
 extern double lddbl();
 extern short ldshort();
-extern ldchar(), stchar(), stlong(), stint(), stdbl(), stfloat();
-extern stbin(), ldbin();
+extern int ldchar(), stchar(), stlong(), stint(), stdbl(), stfloat();
 
 extern int	iserrno;		     /* isam error number code */
 extern long	isrecnum;		     /* record number of last call */
-- 
1.7.11.2.138.g2b53359

