diff options
| author | wdenk <wdenk> | 2003-06-27 21:31:46 +0000 | 
|---|---|---|
| committer | wdenk <wdenk> | 2003-06-27 21:31:46 +0000 | 
| commit | 8bde7f776c77b343aca29b8c7b58464d915ac245 (patch) | |
| tree | 20f1fd99975215e7c658454a15cdb4ed4694e2d4 /tools/updater/string.c | |
| parent | 993cad9364c6b87ae429d1ed1130d8153f6f027e (diff) | |
| download | olio-uboot-2014.01-8bde7f776c77b343aca29b8c7b58464d915ac245.tar.xz olio-uboot-2014.01-8bde7f776c77b343aca29b8c7b58464d915ac245.zip | |
* Code cleanup:LABEL_2003_06_27_2340
  - remove trailing white space, trailing empty lines, C++ comments, etc.
  - split cmd_boot.c (separate cmd_bdinfo.c and cmd_load.c)
* Patches by Kenneth Johansson, 25 Jun 2003:
  - major rework of command structure
    (work done mostly by Michal Cendrowski and Joakim Kristiansen)
Diffstat (limited to 'tools/updater/string.c')
| -rw-r--r-- | tools/updater/string.c | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/tools/updater/string.c b/tools/updater/string.c index 50537a655..8a8edec5c 100644 --- a/tools/updater/string.c +++ b/tools/updater/string.c @@ -129,8 +129,8 @@ char * strrchr(const char * s, int c)  {         const char *p = s + strlen(s);         do { -           if (*p == (char)c) -               return (char *)p; +	   if (*p == (char)c) +	       return (char *)p;         } while (--p >= s);         return NULL;  } @@ -316,7 +316,7 @@ void * memscan(void * addr, int c, size_t size)  		p++;  		size--;  	} -  	return (void *) p; +	return (void *) p;  }  #endif |