Skip to content
Snippets Groups Projects
Commit 1b6ece75 authored by Ansgar Burchardt's avatar Ansgar Burchardt
Browse files

[cleanup] InitDevices: remove `argc` and `argv` parameters

parent 8142ca7a
No related branches found
No related tags found
1 merge request!101Cleanup
......@@ -446,11 +446,7 @@ INT NS_PREFIX GetMuteLevel (void)
InitDevices - Initialize all devices at startup
SYNOPSIS:
INT InitDevices (int *argcp, char **argv);
PARAMETERS:
* @param argcp - pointer to argument counter
* @param argv - command line parameters
INT InitDevices();
DESCRIPTION:
This function initializes all devices at startup.
......@@ -464,7 +460,7 @@ INT NS_PREFIX GetMuteLevel (void)
/****************************************************************************/
INT NS_PREFIX InitDevices (int *argcp, char **argv)
INT NS_PREFIX InitDevices()
{
return 0;
}
......
......@@ -34,7 +34,7 @@
START_UG_NAMESPACE
/* initialization and clean up */
INT InitDevices (int *argcp, char **argv);
INT InitDevices();
INT ExitDevices (void);
/* set/get mute level for output control */
......
......@@ -162,7 +162,7 @@ INT NS_DIM_PREFIX InitUg (int *argcp, char ***argvp)
return (__LINE__);
/* init the devices module */
if ((err = InitDevices (argcp, *argvp)) != 0)
if ((err = InitDevices()) != 0)
{
printf
("ERROR in InitUg while InitDevices (line %d): called routine line %d\n",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment