On 22/07/14 16:33, Justin Cormack wrote: >> Why is the code in a .h? Not that it makes functional difference, but >> it's just ... odd. > > Yes I know. Couldn't think of another saner way to not duplicate code and > to not leave public symbols that should be internal. Suggestions?
I can't currently see any public symbol apart from rumpuser_getrandom(). But if you're referring to the init bit, there are a number of symbols in librumpuser in the rumpuser__ (double underscore) namespace that are cross-module and internal. Could of course restrict their visibility at least in shared libs, but not sure why worry about conflicts in rumpuser__. ------------------------------------------------------------------------------ Want fast and easy access to all the code in your enterprise? Index and search up to 200,000 lines of code with a free copy of Black Duck Code Sight - the same software that powers the world's largest code search on Ohloh, the Black Duck Open Hub! Try it now. http://p.sf.net/sfu/bds _______________________________________________ rumpkernel-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/rumpkernel-users
