]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - tools/updater/string.c
* Code cleanup:
[karo-tx-uboot.git] / tools / updater / string.c
index 50537a655408c8c9373160dc765cb66c9cd41a55..8a8edec5cf662b517dfea235d8a1534840684916 100644 (file)
@@ -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