From: Gabor Juhos Date: Sat, 30 Nov 2013 18:30:57 +0000 (+0000) Subject: firmware-utils/trx: remove trailing whitespaces X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=02e880a385fa81437aba1547ae490b9ab21db6f3;p=openwrt%2Fsvn-archive%2Farchive.git firmware-utils/trx: remove trailing whitespaces Signed-off-by: Gabor Juhos SVN-Revision: 38963 --- diff --git a/tools/firmware-utils/src/trx.c b/tools/firmware-utils/src/trx.c index e3b6a3941f..aa1f5be4b6 100644 --- a/tools/firmware-utils/src/trx.c +++ b/tools/firmware-utils/src/trx.c @@ -68,7 +68,7 @@ uint32_t crc32buf(char *buf, size_t len); #define TRX_MAGIC 0x30524448 /* "HDR0" */ #define TRX_MAX_LEN 0x720000 -#define TRX_NO_HEADER 1 /* Do not write TRX header */ +#define TRX_NO_HEADER 1 /* Do not write TRX header */ struct trx_header { uint32_t magic; /* "HDR0" */ @@ -262,7 +262,7 @@ int main(int argc, char **argv) cur_len += ROUND - n; } - /* for TRXv2 set bin-header Flags to 0xFF for CRC calculation like CFE does */ + /* for TRXv2 set bin-header Flags to 0xFF for CRC calculation like CFE does */ if (trx_version == 2) { if(cur_len - LOAD32_LE(p->offsets[3]) < sizeof(binheader)) { fprintf(stderr, "TRXv2 binheader too small!\n"); @@ -289,7 +289,7 @@ int main(int argc, char **argv) } fclose(out); - + return EXIT_SUCCESS; }