Automatically reformat com32/lib/syslinux/initramfs_loadfile.c using Nindent.
Do this for all files except HDT, gPXE and externally maintained
libraries (zlib, tinyjpeg, libpng).
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
int initramfs_load_file(struct initramfs *ihead, const char *src_filename,
const char *dst_filename, int do_mkdir, uint32_t mode)
{
int initramfs_load_file(struct initramfs *ihead, const char *src_filename,
const char *dst_filename, int do_mkdir, uint32_t mode)
{
- void *data;
- size_t len;
+ void *data;
+ size_t len;
- if (loadfile(src_filename, &data, &len))
- return -1;
+ if (loadfile(src_filename, &data, &len))
+ return -1;
- return initramfs_add_file(ihead, data, len, len, dst_filename,
- do_mkdir, mode);
+ return initramfs_add_file(ihead, data, len, len, dst_filename,
+ do_mkdir, mode);