summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2013-06-05 02:34:25 +0200
committerRalf Baechle <ralf@linux-mips.org>2015-05-02 18:16:06 +0200
commitcc6d8211189bcd7bb665aa65d97385d0a5821bdc (patch)
tree88aa6395203ca8e3555e378f3b62cee18dbf8d76
parentafa8313f928dadd74dba812bef6038ba0d144370 (diff)
Always have a space between if, for, switch, while and the following `('.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-rw-r--r--ax25ipd/kiss.c2
-rw-r--r--ax25ipd/process.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/ax25ipd/kiss.c b/ax25ipd/kiss.c
index ae580ce..c7d692c 100644
--- a/ax25ipd/kiss.c
+++ b/ax25ipd/kiss.c
@@ -114,7 +114,7 @@ void assemble_kiss(unsigned char *buf, int l)
/* convert a standard AX25 frame into a kiss frame */
void send_kiss(unsigned char type, unsigned char *buf, int l)
{
-#define KISSEMIT(x) if(ofcount<MAX_FRAME){*ofptr=(x);ofptr++;ofcount++;}
+#define KISSEMIT(x) if (ofcount<MAX_FRAME){*ofptr=(x);ofptr++;ofcount++;}
int i;
diff --git a/ax25ipd/process.c b/ax25ipd/process.c
index 5717cd1..f0ac54d 100644
--- a/ax25ipd/process.c
+++ b/ax25ipd/process.c
@@ -272,7 +272,7 @@ int addrmatch(unsigned char *a, unsigned char *b)
return 1; /* ssid 0 matches all ssid's */
if ((*a++ ^ *b) & 0x1e)
return 0; /* ssid */
-/* if((*a++^*b++)&0x1e)return 0; ssid (how it was ...) */
+/* if ((*a++^*b++)&0x1e)return 0; ssid (how it was ...) */
return 1;
}