]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - examples/standalone/timer.c
Make sure that argv[] argument pointers are not modified.
[karo-tx-uboot.git] / examples / standalone / timer.c
index 6628b21de9073a6d402123661613a52982c44b2a..834cc9a49ef2690d82356c3f679b8df619ed1ec3 100644 (file)
@@ -115,7 +115,7 @@ void setPeriod (tid_8xx_cpmtimer_t *hwp, ulong interval);
 
 static char *usage = "\n[q, b, e, ?] ";
 
-int timer (int argc, char *argv[])
+int timer (int argc, char * const argv[])
 {
        cpmtimer8xx_t *cpmtimerp;       /* Pointer to the CPM Timer structure   */
        tid_8xx_cpmtimer_t hw;