Possibility of an extra device?

Alex Waugh alex at alexwaugh.com
Wed Feb 5 08:21:43 PST 2003

Nick Burrett wrote:
> Alex Waugh wrote:
>> I think I understand, I'm just a little concerned that to use this new 
>> device you have to modify internal unixlib structures, which could 
>> easily break if unixlib changes.
> I had been considering splitting dev.c into different files -- one for 
> each device type, then having a small API for registering devices and 
> their handler functions.

That sounds reasonable. IIRC one of the device types is already in a 
separate file.


Alex Waugh                                           alex at alexwaugh.com

PHP, Roots, Subversion, WebJames and more from http://www.alexwaugh.com/

More information about the gcc mailing list