[ob] -Wmissing-prototypes step 1
Andrew Cagney
ac131313@redhat.com
Sun Jun 8 18:22:00 GMT 2003
Hello,
This fixes a heap of -Wmissing-prototypes warnings and in doing so
identified two problems:
- function definitions that forgot to include the header file containing
the declarationc (doh!)
- non-static functions having no header declaration, instead the call
relies on an extern declaration in the calling .c file (outch!)
Given this, I think the warning is very useful.
Since this only cleans up the d10v-elf target, adding
-Wmissing-prototypes to the default warning list should probably wait a bit.
committed,
Andrew
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: diffs
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20030608/aa09b860/attachment.ksh>
More information about the Gdb-patches
mailing list