common flatdevtree code

Mark A. Greer mgreer at mvista.com
Fri Sep 8 11:11:56 EST 2006


On Thu, Sep 07, 2006 at 05:56:31PM -0700, Mark A. Greer wrote:
> Hollis, Paul,
> 
> I made some more changes that I hope you approve of:
> - Added a hdr to the file to try to make it clear that people should
>   not hack the local copy of the file.
> - Fixed a booboo (typo) in my last patch
> - Change the interface to ft_next() to pass a struct that contains the
>   pointers that it sets up.  Also moved the p_strings & version code
>   from the caller to ft_next().  Now, just pass in a NULL value to the
>   'p' param to start at the top of the tree.
> - Cleaned up the callers to ft_next().  I think its much cleaner now.

Forgot to add:

- Change malloc() call to ft_malloc() to be consistent with the changes
  made to exit() -> ft_exit() and free -> ft_free().

Mark



More information about the Linuxppc-dev mailing list