Two more patches here.
The first one cleans up what I believe are all remaining warnings on the minix/ side of things, except for liblwip. A whole lot of warnings remain in other parts of the system (eg warnings in netbsd-imported code). Also, for minix/ we are using wildly differing warning levels all over the place, and this will have to be resolved as well at some point. Still, things are much better than they used to be now.
The second one divides our port of libpuffs into a netbsd-imported part (in lib/libpuffs) and a minix-specific part (in minix/lib/libpuffs), and prepares the netbsd side to be updated properly during any resync with new netbsd source. Moreover, the previously introduced linking issues of libpuffs are resolved, so it should actually be usable again now. Our ports of librefuse/libpuffs still have many issues though, as shown by
Dave Vasilevsky's earlier post on here [1].
David
[1]
https://groups.google.com/d/msg/minix-dev/bJLw8geYbT4/FxVcxMf9BhUJhttp://gerrit.minix3.org/#/c/3195/ - Resolve more warnings
http://gerrit.minix3.org/#/c/3196/ - libpuffs: clean up, unbreak