summaryrefslogtreecommitdiff
path: root/sal/inc/rtl/tres.h
diff options
context:
space:
mode:
authorsz <sz@openoffice.org>2001-09-25 07:35:58 +0000
committersz <sz@openoffice.org>2001-09-25 07:35:58 +0000
commit0236ca17b93a1f524417a350aa1122bf76fbfb57 (patch)
treef192c097701c21a4a6893727e9d60ce248715bee /sal/inc/rtl/tres.h
parentde127b4dc4dc6c46748587832c85604a3611f74f (diff)
fixed struct typedefs according to ansi c
CVtruct typedefs according to ansi cCommitters,
Diffstat (limited to 'sal/inc/rtl/tres.h')
-rw-r--r--sal/inc/rtl/tres.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/sal/inc/rtl/tres.h b/sal/inc/rtl/tres.h
index 45821ddfdf8b..3bff3606d205 100644
--- a/sal/inc/rtl/tres.h
+++ b/sal/inc/rtl/tres.h
@@ -27,9 +27,13 @@ extern "C" {
#define rtl_tres_Flag_PASSED 0x10000000
#define rtl_tres_Flag_OK 0x20000000
- /* forward declaration and type definitions */
+
+
+ /* forward declaration and type definition */
struct _rtl_TestResult;
typedef struct _rtl_TestResult rtl_TestResult;
+
+
typedef void* rtl_funcstate;
typedef void* rtl_cmpstate;
@@ -63,7 +67,6 @@ typedef sal_Bool (SAL_CALL *rtl_tres_getstat_ptr)( rtl_cmpstate );
typedef sal_Char* (SAL_CALL *rtl_tres_getmsg_ptr)( rtl_cmpstate );
typedef rtl_cmpstate (SAL_CALL *rtl_tres_getnextcmpstate_ptr)( rtl_cmpstate );
-
/* type definition of vtable structure for testresult */
typedef struct _rtl_TestResult_vtable
{
@@ -88,12 +91,12 @@ typedef struct _rtl_TestResult_vtable
} rtl_TestResult_vtable;
/* type definition of testresult structure */
-typedef struct _rtl_TestResult
+struct _rtl_TestResult
{
rtl_TestResult_vtable * pFuncs;
void * pExternalData;
-} rtl_TestResult;
+};
/* exports */