summaryrefslogtreecommitdiff
path: root/ppscheck.c
diff options
context:
space:
mode:
Diffstat (limited to 'ppscheck.c')
-rw-r--r--ppscheck.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/ppscheck.c b/ppscheck.c
index c0b49f6a..43cd3d59 100644
--- a/ppscheck.c
+++ b/ppscheck.c
@@ -55,14 +55,14 @@ struct assoc {
* context "DCE" is the GPS. {CD,RI,CTS,DSR} is the
* entire set of these.
*/
-const static struct assoc hlines[] = {
+static const struct assoc hlines[] = {
{TIOCM_CD, "TIOCM_CD"},
{TIOCM_RI, "TIOCM_RI"},
{TIOCM_DSR, "TIOCM_DSR"},
{TIOCM_CTS, "TIOCM_CTS"},
};
-void usage(void)
+static void usage(void)
{
fprintf(stderr, "usage: ppscheck [-h] [ -V] <device>\n");
fprintf(stderr, " -h print usage\n");
@@ -126,6 +126,8 @@ int main(int argc, char *argv[])
(void)fputc('\n', stdout);
}
}
+
+ return 0;
}
/* end */