LWN.net Logo

API changes under consideration

API changes under consideration

Posted Aug 26, 2004 12:38 UTC (Thu) by kleptog (subscriber, #1183)
Parent article: API changes under consideration

What do you mean that compilers cannot detect the change? If they can't, you change the function name. Then you get an error. You can even build an inline function with the old name to do the conversion.

Not changing the function name just seems like asking for trouble.


(Log in to post comments)

API changes under consideration

Posted Aug 26, 2004 22:00 UTC (Thu) by wli (guest, #20327) [Link]

Not at all. One can trivially find all callers using grep(1) and update
them.

API changes under consideration

Posted Aug 27, 2004 8:43 UTC (Fri) by jmshh (guest, #8257) [Link]

Yes, but limited to code

  1. in the kernel tree
  2. at the time of checking.
There is a lot of stuff not satisfying either condition.

API changes under consideration

Posted Aug 28, 2004 5:18 UTC (Sat) by wli (guest, #20327) [Link]

I'm rather hard-pressed to sympathize with those not submitting their
changes for mainline inclusion or those unable to port their code
properly.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds