]> git.sur5r.net Git - u-boot/commit
standalone eepro100_eeprom: fix build error
authorWolfgang Denk <wd@denx.de>
Fri, 12 Mar 2010 21:11:00 +0000 (22:11 +0100)
committerWolfgang Denk <wd@denx.de>
Fri, 12 Mar 2010 21:56:50 +0000 (22:56 +0100)
commit4e72fb15c9073129e05820cc9c54f54bc4985835
treee40300852265cfb9fcc1e3a11f2e2c4086c599aa
parent1bb1809558e11eb089fba32caed9fc99d21477c1
standalone eepro100_eeprom: fix build error

Building examples/standalone/eepro100_eeprom triggers this error:

In file included from include/common.h:629,
                 from eepro100_eeprom.c:24:
include/net.h: In function 'NetReadIP':
include/net.h:430: warning: implicit declaration of function 'memcpy'
eepro100_eeprom.c: At top level:
eepro100_eeprom.c:81: error: conflicting types for 'memcpy'
include/net.h:430: error: previous implicit declaration of 'memcpy' was here

Fix this.

Signed-off-by: Wolfgang Denk <wd@denx.de>
examples/standalone/eepro100_eeprom.c