Fix miscellaneous whitespace issues.

1/5     Remove whitespace that occurs after '('.
2/5     Remove whitespace that occurs before ')'.
3/5     - Replace '){' with ') {'.
4/5     Remove whitespace at end of lines, step 1.
5/5     Remove whitespace at end of lines, step 2.
---
Summary of Patches 1-5:
 doc/manual/style.txt                            |    7 
 src/ecosboard.c                                 |   24 
 src/flash/aduc702x.c                            |   92 -
 src/flash/at91sam7.c                            |  238 ++--
 src/flash/at91sam7.h                            |   46 
 src/flash/avrf.c                                |   54 
 src/flash/avrf.h                                |    2 
 src/flash/cfi.c                                 |  382 +++---
 src/flash/cfi.h                                 |  126 +-
 src/flash/davinci_nand.c                        |  114 +-
 src/flash/ecos.c                                |  132 +-
 src/flash/flash.c                               |  134 +-
 src/flash/flash.h                               |   54 
 src/flash/lpc2000.c                             |   64 -
 src/flash/lpc2000.h                             |    4 
 src/flash/lpc288x.c                             |   38 
 src/flash/lpc288x.h                             |   10 
 src/flash/lpc3180_nand_controller.c             |   64 -
 src/flash/lpc3180_nand_controller.h             |    4 
 src/flash/mflash.c                              |  176 +--
 src/flash/mflash.h                              |    8 
 src/flash/nand.c                                |  124 +-
 src/flash/nand.h                                |   28 
 src/flash/nand_ecc.c                            |   12 
 src/flash/nand_ecc_kw.c                         |    4 
 src/flash/non_cfi.c                             |   78 -
 src/flash/non_cfi.h                             |   18 
 src/flash/ocl.c                                 |   32 
 src/flash/ocl/at91sam7x/dcc.c                   |    8 
 src/flash/ocl/at91sam7x/main.c                  |   42 
 src/flash/ocl/at91sam7x/samflash.c              |  102 -
 src/flash/orion_nand.c                          |   26 
 src/flash/pic32mx.c                             |  194 +--
 src/flash/pic32mx.h                             |   18 
 src/flash/s3c2410_nand.c                        |    6 
 src/flash/s3c2440_nand.c                        |   14 
 src/flash/s3c24xx_nand.c                        |    6 
 src/flash/s3c24xx_nand.h                        |   18 
 src/flash/s3c24xx_regs_nand.h                   |  100 -
 src/flash/stellaris.c                           |  132 +-
 src/flash/stellaris.h                           |   50 
 src/flash/stm32x.c                              |  196 +--
 src/flash/stm32x.h                              |   34 
 src/flash/str7x.c                               |  278 ++--
 src/flash/str7x.h                               |   14 
 src/flash/str9x.c                               |  116 +-
 src/flash/str9x.h                               |    2 
 src/flash/str9xpec.c                            |  114 +-
 src/flash/str9xpec.h                            |    4 
 src/flash/tms470.c                              |  164 +-
 src/flash/tms470.h                              |   10 
 src/helper/binarybuffer.c                       |   44 
 src/helper/binarybuffer.h                       |   52 
 src/helper/command.c                            |  112 -
 src/helper/configuration.c                      |   12 
 src/helper/fileio.c                             |   86 -
 src/helper/fileio.h                             |   12 
 src/helper/ioutil.c                             |   50 
 src/helper/jim-eventloop.c                      |   50 
 src/helper/jim-eventloop.h                      |   16 
 src/helper/jim.c                                | 1350 ++++++++++++------------
 src/helper/jim.h                                |  228 ++--
 src/helper/log.c                                |   42 
 src/helper/log.h                                |   18 
 src/helper/options.c                            |   28 
 src/helper/replacements.c                       |   14 
 src/helper/replacements.h                       |   10 
 src/helper/time_support.c                       |   34 
 src/helper/types.h                              |   66 -
 src/jtag/amt_jtagaccel.c                        |   46 
 src/jtag/arm-jtag-ew.c                          |   62 -
 src/jtag/at91rm9200.c                           |   16 
 src/jtag/bitbang.c                              |   34 
 src/jtag/bitq.c                                 |   82 -
 src/jtag/commands.c                             |   12 
 src/jtag/commands.h                             |   10 
 src/jtag/core.c                                 |  114 +-
 src/jtag/driver.c                               |   46 
 src/jtag/dummy.c                                |   30 
 src/jtag/ep93xx.c                               |    8 
 src/jtag/ft2232.c                               |  198 +--
 src/jtag/gw16012.c                              |   36 
 src/jtag/interface.c                            |   64 -
 src/jtag/interface.h                            |    4 
 src/jtag/jlink.c                                |   66 -
 src/jtag/jtag.h                                 |   46 
 src/jtag/minidriver.h                           |   16 
 src/jtag/minidummy/jtag_minidriver.h            |    4 
 src/jtag/minidummy/minidummy.c                  |    8 
 src/jtag/parport.c                              |   44 
 src/jtag/presto.c                               |   72 -
 src/jtag/rlink/dtc_cmd.h                        |    8 
 src/jtag/rlink/rlink.c                          |  452 ++++----
 src/jtag/rlink/rlink.h                          |    8 
 src/jtag/rlink/rlink_speed_table.c              |    8 
 src/jtag/tcl.c                                  |  274 ++--
 src/jtag/usbprog.c                              |   18 
 src/jtag/vsllink.c                              |  122 +-
 src/jtag/zy1000/jtag_minidriver.h               |   82 -
 src/jtag/zy1000/zy1000.c                        |  212 +--
 src/openocd.c                                   |   22 
 src/pld/virtex2.c                               |   24 
 src/pld/xilinx_bit.c                            |    6 
 src/pld/xilinx_bit.h                            |   14 
 src/server/gdb_server.c                         |  228 ++--
 src/server/httpd.c                              |   28 
 src/server/server.c                             |  128 +-
 src/server/tcl_server.c                         |    2 
 src/server/telnet_server.c                      |    8 
 src/svf/svf.c                                   |   84 -
 src/target/algorithm.c                          |    4 
 src/target/algorithm.h                          |   16 
 src/target/arm11.c                              |  134 +-
 src/target/arm11.h                              |   70 -
 src/target/arm11_dbgtap.c                       |   78 -
 src/target/arm720t.c                            |   50 
 src/target/arm720t.h                            |    8 
 src/target/arm7_9_common.c                      |  346 +++---
 src/target/arm7_9_common.h                      |   48 
 src/target/arm7tdmi.c                           |   96 -
 src/target/arm920t.c                            |  112 -
 src/target/arm920t.h                            |   22 
 src/target/arm926ejs.c                          |   76 -
 src/target/arm926ejs.h                          |   20 
 src/target/arm966e.c                            |   24 
 src/target/arm966e.h                            |    6 
 src/target/arm9tdmi.c                           |   78 -
 src/target/arm9tdmi.h                           |   12 
 src/target/arm_adi_v5.c                         |  300 ++---
 src/target/arm_adi_v5.h                         |   98 -
 src/target/arm_disassembler.c                   |  662 +++++------
 src/target/arm_disassembler.h                   |   84 -
 src/target/arm_jtag.c                           |   90 -
 src/target/arm_jtag.h                           |   44 
 src/target/arm_simulator.c                      |  190 +--
 src/target/arm_simulator.h                      |    2 
 src/target/armv4_5.c                            |   40 
 src/target/armv4_5.h                            |   12 
 src/target/armv4_5_cache.c                      |    2 
 src/target/armv4_5_cache.h                      |    4 
 src/target/armv4_5_mmu.c                        |   42 
 src/target/armv4_5_mmu.h                        |   12 
 src/target/armv7m.c                             |   82 -
 src/target/armv7m.h                             |   46 
 src/target/avrt.c                               |   56 
 src/target/breakpoints.c                        |   64 -
 src/target/breakpoints.h                        |   20 
 src/target/cortex_a8.c                          |   22 
 src/target/cortex_a8.h                          |   24 
 src/target/cortex_m3.c                          |  166 +-
 src/target/cortex_m3.h                          |   90 -
 src/target/embeddedice.c                        |   52 
 src/target/embeddedice.h                        |   22 
 src/target/etb.c                                |   88 -
 src/target/etb.h                                |   16 
 src/target/etm.c                                |   82 -
 src/target/etm.h                                |   38 
 src/target/feroceon.c                           |   90 -
 src/target/image.c                              |  214 +--
 src/target/image.h                              |   24 
 src/target/mips32.c                             |  138 +-
 src/target/mips32.h                             |   24 
 src/target/mips32_dmaacc.c                      |  102 -
 src/target/mips32_dmaacc.h                      |   16 
 src/target/mips32_pracc.c                       |  348 +++---
 src/target/mips32_pracc.h                       |   32 
 src/target/mips_ejtag.c                         |   84 -
 src/target/mips_ejtag.h                         |   14 
 src/target/mips_m4k.c                           |  126 +-
 src/target/mips_m4k.h                           |    2 
 src/target/oocd_trace.c                         |   58 -
 src/target/register.c                           |    6 
 src/target/register.h                           |    6 
 src/target/target.c                             | 1150 ++++++++++----------
 src/target/target.h                             |   72 -
 src/target/target_request.c                     |   22 
 src/target/target_request.h                     |    2 
 src/target/target_type.h                        |   32 
 src/target/trace.c                              |   46 
 src/target/trace.h                              |   16 
 src/target/xscale.c                             |  392 +++---
 src/target/xscale.h                             |   70 -
 src/target/xscale/protocol.h                    |    6 
 src/xsvf/xsvf.c                                 |  168 +-
 testing/examples/AT91R40008Test/inc/typedefs.h  |   36 
 testing/examples/AT91R40008Test/src/main.c      |   48 
 testing/examples/LPC2148Test/inc/typedefs.h     |   36 
 testing/examples/LPC2148Test/src/main.c         |   48 
 testing/examples/LPC2294Test/inc/typedefs.h     |   36 
 testing/examples/LPC2294Test/src/main.c         |   48 
 testing/examples/PIC32/BlinkingLeds.c           |   10 
 testing/examples/SAM7S256Test/inc/typedefs.h    |   36 
 testing/examples/SAM7S256Test/src/main.c        |   44 
 testing/examples/SAM7X256Test/inc/typedefs.h    |   36 
 testing/examples/SAM7X256Test/src/main.c        |   44 
 testing/examples/STR710JtagSpeed/inc/typedefs.h |   36 
 testing/examples/STR710JtagSpeed/src/main.c     |   42 
 testing/examples/STR710Test/inc/typedefs.h      |   36 
 testing/examples/STR710Test/src/main.c          |   44 
 testing/examples/STR912Test/inc/typedefs.h      |   36 
 testing/examples/STR912Test/src/main.c          |   44 
 testing/examples/cortex/test.c                  |    6 
 testing/examples/ledtest-imx27ads/test.c        |   10 
 testing/examples/ledtest-imx31pdk/test.c        |   10 
 204 files changed, 8136 insertions(+), 8147 deletions(-)
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to