On Monday 09 November 2009, Zachary T Welch wrote:
> 
> Remove 'extern' file from function prototypes inside source files.

Surely all these should have been imported through
header files though?

Usually one avoids prototypes in C files, except for
unavoidable forward declarations.  There should be
a single prototype, shared by the implementation and
by users ... so that when the function's signature
changes, everything picks it up at the same time.

- Dave


> Signed-off-by: Zachary T Welch <z...@superlucidity.net>
> ---
>  src/ecosboard.c                |    4 ++--
>  src/flash/avrf.c               |   22 +++++++++++-----------
>  src/jtag/minidummy/minidummy.c |    4 +---
>  src/jtag/zy1000/zy1000.c       |    4 +---
>  src/main.c                     |    2 +-
>  src/server/gdb_server.c        |    3 ++-
>  src/server/server.c            |    4 ++--
>  src/target/arm9tdmi.c          |    2 +-
>  8 files changed, 21 insertions(+), 24 deletions(-)
> 
> 


_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to