Re: rep_dl_init signature

On Dec 5, 2003, at 8:41 PM, Michal Maruška wrote:

browsing through librep sources, i see in librep-0.17/src/unix_dl.c:

	    repv (*init_func)(repv);

		ret = init_func(file_name);

but all extensions have the rep_dl_init function defined w/ this signature:

rep_dl_init (void)

is this correct?

AFAIK there are no architectures where passing an argument to a function that expects no parameters doesn't do the right thing. So both the above are correct,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]