diff options
author | Zachary T Welch <zw@superlucidity.net> | 2009-11-09 03:10:11 -0800 |
---|---|---|
committer | Zachary T Welch <zw@superlucidity.net> | 2009-11-09 09:44:33 -0800 |
commit | 81fbc637185fb0007dbe84c866794800851295b5 (patch) | |
tree | f4becaf14928d69a1141ff9bb6ed03738e14ed63 /src/flash/mflash.h | |
parent | 5e9d18f027954c5f5e883934d6c54cb20817ea9f (diff) | |
download | riscv-openocd-81fbc637185fb0007dbe84c866794800851295b5.zip riscv-openocd-81fbc637185fb0007dbe84c866794800851295b5.tar.gz riscv-openocd-81fbc637185fb0007dbe84c866794800851295b5.tar.bz2 |
src/flash: remove 'extern' and wrap headers
Removes 'extern' keywords from function prototypes in the flash headers.
Wraps long lines to fit into 80 columns.
Adds multiple inclusion protection for s3c2xx_nand.h.
Diffstat (limited to 'src/flash/mflash.h')
-rw-r--r-- | src/flash/mflash.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/flash/mflash.h b/src/flash/mflash.h index bfaf743..1b54307 100644 --- a/src/flash/mflash.h +++ b/src/flash/mflash.h @@ -141,8 +141,8 @@ typedef struct mflash_bank_s mg_drv_info_t *drv_info; } mflash_bank_t; -extern int mflash_register_commands(struct command_context_s *cmd_ctx); -extern int mflash_init_drivers(struct command_context_s *cmd_ctx); +int mflash_register_commands(struct command_context_s *cmd_ctx); +int mflash_init_drivers(struct command_context_s *cmd_ctx); #define MG_MFLASH_SECTOR_SIZE (0x200) /* 512Bytes = 2^9 */ #define MG_MFLASH_SECTOR_SIZE_MASK (0x200-1) |