get rid of old cruft: remove args argument from the modules' init() routines

This commit is contained in:
marschap committed 2005-07-02 13:38:51 +00:00
1 parent 32545c99a2
commit 0ec83bdc66
63 files changed
+77 -84

No files matched your search

+2 -2
View File
@@ -69,7 +69,7 @@ MODULE_EXPORT char *symbol_prefix = "icp_a106_";
// Opens com port and sets baud correctly...
//
MODULE_EXPORT int
icp_a106_init (Driver *drvthis, char *args)
icp_a106_init (Driver *drvthis)
{
char device[200];
int speed=B1200;
@@ -77,7 +77,7 @@ icp_a106_init (Driver *drvthis, char *args)
PrivateData *p;
debug( RPT_INFO, "ICP_A106: init(%p,%s)", drvthis, args );
debug( RPT_INFO, "ICP_A106: init(%p)", drvthis );
// Alocate and store private data
p = (PrivateData *) calloc( 1, sizeof( PrivateData) );