Skip to content

Commit 6b4e10d

Browse files
committed
Dev/E1000: Fix tstDevRss testcase (was incorrectly based on sample testcase using hardening). bugref:11015
svn:sync-xref-src-repo-rev: r173860
1 parent f3098a5 commit 6b4e10d

1 file changed

Lines changed: 3 additions & 15 deletions

File tree

src/VBox/Devices/Network/testcase/tstDevRss.cpp

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $Id: tstDevRss.cpp 114025 2026-04-24 15:59:06Z aleksey.ilyushin@oracle.com $ */
1+
/* $Id: tstDevRss.cpp 114055 2026-04-30 15:02:49Z klaus.espenlaub@oracle.com $ */
22
/** @file
33
* RSS hash unit tests.
44
*/
@@ -88,11 +88,10 @@ struct TestPacketIPv6
8888

8989

9090
/**
91-
* Entry point.
91+
* Main entry point.
9292
*/
93-
extern "C" DECLEXPORT(int) TrustedMain(int argc, char **argv, char **envp)
93+
int main(int argc, char **argv)
9494
{
95-
RT_NOREF(envp);
9695
unsigned i;
9796
uint32_t uHash;
9897

@@ -243,14 +242,3 @@ extern "C" DECLEXPORT(int) TrustedMain(int argc, char **argv, char **envp)
243242

244243
return !!g_cErrors;
245244
}
246-
247-
248-
#if !defined(VBOX_WITH_HARDENING) || !defined(RT_OS_WINDOWS)
249-
/**
250-
* Main entry point.
251-
*/
252-
int main(int argc, char **argv, char **envp)
253-
{
254-
return TrustedMain(argc, argv, envp);
255-
}
256-
#endif

0 commit comments

Comments
 (0)