Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
e5c8a6eb
Commit
e5c8a6eb
authored
May 30, 2007
by
Dan Hipschman
Committed by
Alexandre Julliard
May 31, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpcrt4: Fix build of test on Solaris by renaming a variable.
parent
5ca38675
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
19 deletions
+19
-19
server.c
dlls/rpcrt4/tests/server.c
+18
-18
server.idl
dlls/rpcrt4/tests/server.idl
+1
-1
No files found.
dlls/rpcrt4/tests/server.c
View file @
e5c8a6eb
...
...
@@ -141,14 +141,14 @@ s_sum_sp(sp_t *sp)
}
double
s_square_sun
(
sun_t
*
su
n
)
s_square_sun
(
sun_t
*
su
)
{
switch
(
su
n
->
s
)
switch
(
su
->
s
)
{
case
SUN_I
:
return
su
n
->
u
.
i
*
sun
->
u
.
i
;
case
SUN_I
:
return
su
->
u
.
i
*
su
->
u
.
i
;
case
SUN_F1
:
case
SUN_F2
:
return
su
n
->
u
.
f
*
sun
->
u
.
f
;
case
SUN_PI
:
return
(
*
su
n
->
u
.
pi
)
*
(
*
sun
->
u
.
pi
);
case
SUN_F2
:
return
su
->
u
.
f
*
su
->
u
.
f
;
case
SUN_PI
:
return
(
*
su
->
u
.
pi
)
*
(
*
su
->
u
.
pi
);
default:
return
0
.
0
;
}
...
...
@@ -279,25 +279,25 @@ basic_tests(void)
static
void
union_tests
(
void
)
{
sun_t
su
n
;
sun_t
su
;
int
i
;
su
n
.
s
=
SUN_I
;
su
n
.
u
.
i
=
9
;
ok
(
square_sun
(
&
su
n
)
==
81
.
0
,
"RPC square_sun
\n
"
);
su
.
s
=
SUN_I
;
su
.
u
.
i
=
9
;
ok
(
square_sun
(
&
su
)
==
81
.
0
,
"RPC square_sun
\n
"
);
su
n
.
s
=
SUN_F1
;
su
n
.
u
.
f
=
5
.
0
;
ok
(
square_sun
(
&
su
n
)
==
25
.
0
,
"RPC square_sun
\n
"
);
su
.
s
=
SUN_F1
;
su
.
u
.
f
=
5
.
0
;
ok
(
square_sun
(
&
su
)
==
25
.
0
,
"RPC square_sun
\n
"
);
su
n
.
s
=
SUN_F2
;
su
n
.
u
.
f
=
-
2
.
0
;
ok
(
square_sun
(
&
su
n
)
==
4
.
0
,
"RPC square_sun
\n
"
);
su
.
s
=
SUN_F2
;
su
.
u
.
f
=
-
2
.
0
;
ok
(
square_sun
(
&
su
)
==
4
.
0
,
"RPC square_sun
\n
"
);
su
n
.
s
=
SUN_PI
;
su
n
.
u
.
pi
=
&
i
;
su
.
s
=
SUN_PI
;
su
.
u
.
pi
=
&
i
;
i
=
11
;
ok
(
square_sun
(
&
su
n
)
==
121
.
0
,
"RPC square_sun
\n
"
);
ok
(
square_sun
(
&
su
)
==
121
.
0
,
"RPC square_sun
\n
"
);
}
static
test_list_t
*
...
...
dlls/rpcrt4/tests/server.idl
View file @
e5c8a6eb
...
...
@@ -95,7 +95,7 @@ interface IServer
} sp_t;
int sum_sp(sp_t *sp);
double square_sun(sun_t *su
n
);
double square_sun(sun_t *su);
typedef struct test_list
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment