From: James Woodcock Date: Thu, 9 Aug 2012 19:11:08 +0000 (+0100) Subject: "ISO C++ forbids declaration of [X] with no type" warning fixes. X-Git-Tag: 2.2.0b~83^2~49 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=3f117778121b30573212c2a9afff893e47b06b0c;p=oweals%2Fcde.git "ISO C++ forbids declaration of [X] with no type" warning fixes. --- 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 */