From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <3ad045e675c92ccadaa4dcb0e5f36a38@quintile.net> From: "Steve Simon" Date: Wed, 31 Aug 2011 14:01:34 +0100 To: 9fans@9fans.net MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: [9fans] c code differencing Topicbox-Message-UUID: 1784134e-ead7-11e9-9d60-3106f5b1d025 Anyone have any pointers to a diff for C code. I have two libraries, A and B. B is and expanded and modified version of A and I have been asked to extract A from B to build two libraries one built on top of the other. What I think I need is a program which parses C and will do diffs at the level of functions, globals , #defines and enums. it would ideally have two input files and generate two outputs one output being the common code, one with the extensions on the common. I don't expect this to be fully automated, there is going to be a load of hand edition before I am done, but is there somthing which can do the easy stuff for me? -Steve