diff options
| author | Wolfgang Denk <wd@denx.de> | 2008-07-14 15:19:07 +0200 | 
|---|---|---|
| committer | Wolfgang Denk <wd@denx.de> | 2008-07-14 15:19:07 +0200 | 
| commit | d0ff51ba5d0309dbe9e25ea54f8a0285a6d5db90 (patch) | |
| tree | f751c45fa698dd14edd985b80ae16ad521768457 /board/mpl/common/common_util.c | |
| parent | d7854223c5c85b5849fbf422cc8ac0efef461c37 (diff) | |
| download | olio-uboot-2014.01-d0ff51ba5d0309dbe9e25ea54f8a0285a6d5db90.tar.xz olio-uboot-2014.01-d0ff51ba5d0309dbe9e25ea54f8a0285a6d5db90.zip | |
Code cleanup: fix old style assignment ambiguities like "=-" etc.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'board/mpl/common/common_util.c')
| -rw-r--r-- | board/mpl/common/common_util.c | 12 | 
1 files changed, 6 insertions, 6 deletions
| diff --git a/board/mpl/common/common_util.c b/board/mpl/common/common_util.c index 11d434512..24ce80785 100644 --- a/board/mpl/common/common_util.c +++ b/board/mpl/common/common_util.c @@ -357,8 +357,8 @@ void copy_old_env(ulong size)  	unsigned off;  	uchar *name, *value; -	name=&name_buf[0]; -	value=&value_buf[0]; +	name = &name_buf[0]; +	value = &value_buf[0];  	len=size;  	off = sizeof(long);  	while (len > off) { @@ -377,8 +377,8 @@ void copy_old_env(ulong size)  				if(c == '\0')  					break;  			} while(len > off); -			name=&name_buf[0]; -			value=&value_buf[0]; +			name = &name_buf[0]; +			value = &value_buf[0];  			if(strncmp((char *)name,"baudrate",8)!=0) {  				setenv((char *)name,(char *)value);  			} @@ -636,12 +636,12 @@ void video_get_info_str (int line_number, char *info)  					++s;  					break;  				} -				buf[i++]=*s; +				buf[i++] = *s;  			}  			sprintf(&buf[i]," SN ");  			i+=4;  			for (; s < e; ++s) { -				buf[i++]=*s; +				buf[i++] = *s;  			}  			buf[i++]=0;  		} |