This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Convert old prototype.


Continuing cleanup we now focus on converting old prototype to new.

I now have patch that does formating rigth, see:

http://kam.mff.cuni.cz/~ondra/convert_old_prototype.patch

It could be applied as it is but it is not exhaustive as I needed 
to exclude several special cases like macro to modify function name.

I could make this patch exhaustive if I could do 
make and make check with enabled
 -Wold-style-definition
, my attempts ended in getting errors from -Werror.


then I could parse that output and run my script on these lines.

Generator attached.

Attachment: remove_old_prototype.c
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]