Age | Commit message (Collapse) | Author |
|
Signed-off-by: Yann CARDAILLAC <yann.cardaillac@smile.fr>
Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
|
|
For each file, the command executed was:
indent -linux -i4 -nut -sc -bbo -nhnl $f
This is the first step in improving the code formatting and further work is
still required. 'indent' is confused by the 'extern "c" {}' wrapping in the
header files and gets the indentation wrong. It also produces sub-optimal
formatting for some long lines.
Each file will be reviewed by hand after this commit.
Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
|
|
All code to interact with the curl backend is moved into opkg_download_curl.c
and all code for the wget backend is moved to opkg_download_wget.c. No separate
headers are needed for these files as the definition of opkg_download_backend is
added to opkg_download.h.
Logic is added to the Makefile to ensure the correct file is chosen at compile
time.
Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
|