"ISO C++ forbids declaration of [X] with no type" warning fixes.

This commit is contained in:
James Woodcock
2012-08-09 20:11:08 +01:00
committed by Jon Trulson
parent f8e046ee33
commit 3f11777812
3 changed files with 3 additions and 5 deletions

View File

@@ -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 */

View File

@@ -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);

View File

@@ -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 */