mirror of https://github.com/wb2osz/direwolf.git
Fixed some indenting, fixed an implicit declaration of dw_printf()
This commit is contained in:
parent
bc07681df9
commit
0a3707cb5b
|
@ -1524,7 +1524,7 @@ static void usage (char **argv)
|
||||||
/* I don't know if win32 supports ANSI colour sequences. */
|
/* I don't know if win32 supports ANSI colour sequences. */
|
||||||
#else
|
#else
|
||||||
// TODO: Could vary by platform and build options.
|
// TODO: Could vary by platform and build options.
|
||||||
//dw_printf ("Complete documentation can be found in /usr/local/share/doc/direwolf\n");
|
dw_printf ("Complete documentation can be found in /usr/local/share/doc/direwolf\n");
|
||||||
//dw_printf ("\e[0m\e\n\e[0J\e"); /* This appears to break the last bit of colour, so it is commented out. */
|
//dw_printf ("\e[0m\e\n\e[0J\e"); /* This appears to break the last bit of colour, so it is commented out. */
|
||||||
#endif
|
#endif
|
||||||
dw_printf ("or online at https://github.com/wb2osz/direwolf/tree/master/doc\n");
|
dw_printf ("or online at https://github.com/wb2osz/direwolf/tree/master/doc\n");
|
||||||
|
@ -1535,3 +1535,4 @@ static void usage (char **argv)
|
||||||
|
|
||||||
|
|
||||||
/* end direwolf.c */
|
/* end direwolf.c */
|
||||||
|
|
||||||
|
|
|
@ -484,3 +484,4 @@ static int my_unstuff (int chan, int subchan, int slice, unsigned char * restric
|
||||||
} // my_unstuff
|
} // my_unstuff
|
||||||
|
|
||||||
// end fx25_rec.c
|
// end fx25_rec.c
|
||||||
|
|
||||||
|
|
|
@ -335,3 +335,4 @@ static int stuff_it (unsigned char *in, int ilen, unsigned char *out, int osize)
|
||||||
} // end stuff_it
|
} // end stuff_it
|
||||||
|
|
||||||
// end fx25_send.c
|
// end fx25_send.c
|
||||||
|
|
||||||
|
|
|
@ -1048,3 +1048,4 @@ int main (int argc, char *argv[])
|
||||||
|
|
||||||
|
|
||||||
/* end latlong.c */
|
/* end latlong.c */
|
||||||
|
|
||||||
|
|
|
@ -116,3 +116,4 @@ static void usage (void)
|
||||||
dw_printf ("\e[0m\e\n\e[0J\e");
|
dw_printf ("\e[0m\e\n\e[0J\e");
|
||||||
exit (1);
|
exit (1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -94,7 +94,7 @@ int main (int argc, char *argv[])
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
fprintf (stderr, "Can't open %s for read.\n", argv[n]);
|
fprintf (stderr, "Can't open %s for read.\n", argv[n]);
|
||||||
dw_printf ("\e[0m\e\n\e[0J\e");
|
printf ("\e[0m\e\n\e[0J\e");
|
||||||
exit (1);
|
exit (1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -103,7 +103,7 @@ int main (int argc, char *argv[])
|
||||||
|
|
||||||
if (num_things == 0) {
|
if (num_things == 0) {
|
||||||
fprintf (stderr, "Nothing to process.\n");
|
fprintf (stderr, "Nothing to process.\n");
|
||||||
dw_printf ("\e[0m\e\n\e[0J\e");
|
printf ("\e[0m\e\n\e[0J\e");
|
||||||
exit (1);
|
exit (1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -147,8 +147,8 @@ int main (int argc, char *argv[])
|
||||||
* GPX file tail.
|
* GPX file tail.
|
||||||
*/
|
*/
|
||||||
printf ("</gpx>\n");
|
printf ("</gpx>\n");
|
||||||
|
printf ("\e[0m\e\n\e[0J\e");
|
||||||
|
|
||||||
dw_printf ("\e[0m\e\n\e[0J\e");
|
|
||||||
exit (0);
|
exit (0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -145,3 +145,4 @@ static void usage (void)
|
||||||
dw_printf ("\e[0m\e\n\e[0J\e");
|
dw_printf ("\e[0m\e\n\e[0J\e");
|
||||||
exit (1);
|
exit (1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue