Skip to content
Commit d8c77f78 authored by Eric S. Raymond's avatar Eric S. Raymond
Browse files

Remove a fossil from an ol d port hack.

Some driver files had the following code snuppet in them:

extern int async_write(int, const void *, unsigned int);

Specifically, refclock_acts.c, refclock_arbiter.c, refclock_dumbclock.c,
refclock_hopfser.c, refclock_nmea.c, refclock_palisade.c, refclock_true.c.

However, many more drivers use write(2) without redefining it, and all
run synchronously. I conclude that this snippet is unecessary and was
copied blindly from an early example.  Perhaps it was a performance hack.
parent 67fa3703
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment