From: Wolfgang Denk Date: Tue, 29 Jun 2010 13:23:09 +0200 Subject: [U-Boot] [PATCH] Make sure that argv[] argument pointers are not modified - Part 2 In-Reply-To: <1277804965-1086-1-git-send-email-wd@denx.de> References: <1277804965-1086-1-git-send-email-wd@denx.de> Message-ID: <1277810589-2530-1-git-send-email-wd@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Fix compile problems cause by this commit. Signed-off-by: Wolfgang Denk --- Sorry, by accident these changes were not checked in yet when I submitted the patch. Given the size of the patch and the local impact of this fix I post this as an incremental patch. If nobody complains I will squash this into the first part when committing. board/trab/trab_fkt.c | 24 ++++++++++++------------ 1 files changed, 12 insertions(+), 12 deletions(-) diff --git a/board/trab/trab_fkt.c b/board/trab/trab_fkt.c index 6faa9b1..268162e 100644 --- a/board/trab/trab_fkt.c +++ b/board/trab/trab_fkt.c @@ -115,21 +115,21 @@ int do_rotary_switch (void); int do_pressure (void); int do_v_bat (void); int do_vfd_id (void); -int do_buzzer (char **); -int do_led (char **); -int do_full_bridge (char **); -int do_dac (char **); +int do_buzzer (char * const *); +int do_led (char * const *); +int do_full_bridge (char * const *); +int do_dac (char * const *); int do_motor_contact (void); -int do_motor (char **); -int do_pwm (char **); -int do_thermo (char **); -int do_touch (char **); -int do_rs485 (char **); -int do_serial_number (char **); +int do_motor (char * const *); +int do_pwm (char * const *); +int do_thermo (char * const *); +int do_touch (char * const *); +int do_rs485 (char * const *); +int do_serial_number (char * const *); int do_crc16 (void); int do_power_switch (void); -int do_gain (char **); -int do_eeprom (char **); +int do_gain (char * const *); +int do_eeprom (char * const *); /* helper functions */ static void adc_init (void); -- 1.7.0.1