Commit Graph

2 Commits

Author SHA1 Message Date
Thomas Huth 4183816dcc libnet: Get rid of unnecessary (char *) casts
For some strange reasons, the libnet code is using int8_t arrays for
strings in a couple of places where it really does not make any sense.
Therefor a lot of "(char *)" casts are needed when the code is using
the string functions from the libc. Let's change the strings to use
"char" instead of "int8_t" so we can get rid of a lot of these casts.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
2018-05-14 19:56:07 +10:00
Thomas Huth 3c1fe653f5 net: Move files from clients/net-snk/app/netlib/ to lib/libnet/
When we want to link the network stack to other parts of the
firmware later (paflof), we've got to turn it into a proper
library first.

Note: Make sure to run "make distclean" after this patch, so that
the dependencies for the moved files get rebuilt properly.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
2016-06-27 12:31:06 +10:00