From 3f117778121b30573212c2a9afff893e47b06b0c Mon Sep 17 00:00:00 2001 From: James Woodcock 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 b5d4e8a4..20ff4e10 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 78ce3ef9..bb3ce49d 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 d9afe8f7..c5ce6290 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 */ -- 2.25.1