[PATCH] remove double definition of HAL_HELPER_TIMEOUT

Danny Kukawka danny.kukawka at web.de
Mon Nov 12 10:57:02 PST 2007


On Dienstag, 30. Oktober 2007, Danny Kukawka wrote:
> I couldn't see a compiler warning, but IMO the double definition of
> HAL_HELPER_TIMEOUT in hald/util.h and hald/hald_runner.h could cause
> problems if one of the both values get may changed in the future (currently
> both 10000).
>
> I would remove the define of HAL_HELPER_TIMEOUT from hald/util.h since the
> timeout is needed for hald_runner and where you use functions from this
> file you need to include already the header file hald_runner.h ...

Commited.

Danny


More information about the hal mailing list