summaryrefslogtreecommitdiffstats
path: root/yamdrv/mcs2h.c
Commit message (Collapse)AuthorAgeFilesLines
* mcsh: Fix warning about format string.Ralf Baechle2017-01-261-2/+2
| | | | | | | | | | | | | | gcc -DHAVE_CONFIG_H -I. -I.. -D_GNU_SOURCE -O2 -Wall -pedantic -MT mcs2h.o -MD -MP -MF .deps/mcs2h.Tpo -c -o mcs2h.o mcs2h.c mcs2h.c: In function ‘in2hex’: mcs2h.c:13:16: warning: format ‘%x’ expects argument of type ‘unsigned int *’, but argument 3 has type ‘int *’ [-Wformat=] sscanf(str, "%x", &val); ^ mcs2h.c: In function ‘in4hex’: mcs2h.c:41:16: warning: format ‘%x’ expects argument of type ‘unsigned int *’, but argument 3 has type ‘int *’ [-Wformat=] sscanf(str, "%x", &val); ^ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* yamdrv/mcs2h.c: Fix warning about set but unused variable.Ralf Baechle2015-06-071-2/+1
| | | | | | | | | | gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -MT mcs2h.o -MD -MP -MF .deps/mcs2h.Tpo -c -o mcs2h.o mcs2h.c mcs2h.c: In function ‘main’: mcs2h.c:48:10: warning: variable ‘add’ set but not used [-Wunused-but-set-variable] int nb, add, type, i; ^ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Nuke trailing whitespace.Ralf Baechle2013-06-171-15/+15
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Import ax25-tools 0.0.3 from tarballax25-tools-0.0.3Ralf Baechle1999-07-081-0/+106