]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - examples/standalone/82559_eeprom.c
Make sure that argv[] argument pointers are not modified.
[karo-tx-uboot.git] / examples / standalone / 82559_eeprom.c
index 5e2eee9e98b81ca3d57e1db908bd572ed033737f..8dd7079ae7f222610efd2f0e335ddcdec406f326 100644 (file)
@@ -305,7 +305,7 @@ write_config_word(int bus, int dev, int func, int reg, u16 data)
 }
 
 
-int main (int argc, char *argv[])
+int main (int argc, char * const argv[])
 {
        unsigned char *eth_addr;
        uchar buf[6];