From: didier <dga...@ma...> - 2009-09-21 13:09:26
|
Hi, Le jeudi 17 septembre 2009 à 11:07 +0200, Frank Lahm a écrit : > Well, not a sed script, but protoize: > http://gcc.gnu.org/onlinedocs/gcc-4.1.2/gcc/Running-Protoize.html > Eg. converting a file at a time with > $ cd etc/afpd/ > $ protoize -c "-I. -I../.. -I../../include -I../../sys > -D_U_=__attribute__((unused)) -DHAVE_CONFIG_H" auth.c > > ...gives a good result with one drawback: _U_ is lost! As you'd been > adding this extensively it would be fun purging it all this way. ;o) > What do you think? Never mind. I will do it. Didier |