[SLOF] [PATCH 0/3] libnet: Clean up prototypes and refactor netload.c

Thomas Huth thuth at redhat.com
Sat Jun 24 03:18:32 AEST 2017

Here are some clean-up patches for libnet: Remove prototypes and Forth
wrapper of the inexistent netsave function, replace the repetive boiler
plate code in netload.c with a proper function and refactor some code
out of the huge netload() function into a separate function.

Thomas Huth (3):
  libnet: Remove remainders of netsave code
  libnet: Rework error message printing
  libnet: Refactor some code of netload() into a separate function

 lib/libnet/netapps.h |   1 -
 lib/libnet/netload.c | 259 +++++++++++++++++++++++----------------------------
 lib/libnet/tftp.h    |   2 -
 slof/fs/loaders.fs   |  10 --
 4 files changed, 116 insertions(+), 156 deletions(-)


More information about the SLOF mailing list