summaryrefslogtreecommitdiffstats
path: root/user_call/user_io.c
Commit message (Collapse)AuthorAgeFilesLines
* treewide: Kill assignments in if conditions.Ralf Baechle2017-07-311-1/+2
| | | | | | | | | | | | | | | | | | | | Somewhat hard to read and the code base already has many overlong lines. Found with below spatch file and some manual editing in ax25/access.c to restore a comment lost by spatch. @parens@ expression E, F, G; binary operator X; statement S; @@ - if ((E = F) X G) + E = F; + if (E X G) S Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* user_call: Fix warning about void pointer arithmetic.Ralf Baechle2017-02-061-2/+3
| | | | | | | | | | user_io.c user_io.c: In function ‘flush_output’: user_io.c:70:7: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith] buf += paclen_out; ^~ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Remove useless initializations to 0 or NULL.Ralf Baechle2013-06-171-2/+2
| | | | | | | They only inflate the .data section of the binary. Initializations to FALSE are still left to do. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Nuke trailing whitespace.Ralf Baechle2013-06-171-1/+1
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Fix implicit declaration caused missing #include <string.h>Ralf Baechle2013-06-061-0/+1
| | | | | | | | gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -flto -MT user_io.o -MD -MP -MF .deps/user_io.Tpo -c -o user_io.o user_io.c user_io.c: In function ‘err’: user_io.c:38:25: warning: incompatible implicit declaration of built-in function ‘strlen’ [enabled by default] Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Import ax25-tools 0.0.6 from tarballax25-tools-0.0.6Ralf Baechle2001-04-111-15/+18
|
* Import ax25-tools 0.0.3 from tarballax25-tools-0.0.3Ralf Baechle1999-07-081-0/+215