X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=api%2Fapi_net.c;h=afe072e76acec152f9bdd744efaf1e2c93e6a917;hb=1f1e774ec6242d4ea34e5cff57232deb5bb587e0;hp=9b20a1740c76837a2dfdf20bad4e366a8ce8bcaf;hpb=694976afa5dcc5c4e7eaeaa0612eac35cd5bd8ec;p=u-boot diff --git a/api/api_net.c b/api/api_net.c index 9b20a1740c..afe072e76a 100644 --- a/api/api_net.c +++ b/api/api_net.c @@ -24,9 +24,6 @@ */ #include - -#if defined(CONFIG_API) - #include #include #include @@ -75,7 +72,7 @@ int dev_close_net(void *cookie) return 0; } -/* +/* * There can only be one active eth interface at a time - use what is * currently set to eth_current */ @@ -109,5 +106,3 @@ int dev_read_net(void *cookie, void *buf, int len) return eth_receive(buf, len); } - -#endif /* CONFIG_API */