diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2010-01-13 10:58:39 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2010-01-13 10:58:39 +0000 |
commit | 004ebeeba5488a9b6c7da685b0da8138cd5330f7 (patch) | |
tree | be724dca74b6318243369ed34f30012c0e1ac203 /distrib | |
parent | 991973f4f8b3df86f271b4a633bd0fe666f04455 (diff) |
errors spotted by lint
Diffstat (limited to 'distrib')
-rw-r--r-- | distrib/special/more/more.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/distrib/special/more/more.c b/distrib/special/more/more.c index 94a6758872c..9c83e473851 100644 --- a/distrib/special/more/more.c +++ b/distrib/special/more/more.c @@ -1,4 +1,4 @@ -/* $OpenBSD: more.c,v 1.28 2009/10/27 23:59:23 deraadt Exp $ */ +/* $OpenBSD: more.c,v 1.29 2010/01/13 10:58:38 deraadt Exp $ */ /* * Copyright (c) 2003 Todd C. Miller <Todd.Miller@courtesan.com> @@ -178,8 +178,6 @@ void doclear(void); void end_it(void); void erasep(int); void error(char *); -void errwrite(char *); -void errwrite1(char *); void execute(char *filename, char *cmd, char *, char *, char *); void initterm(void); void kill_line(void); @@ -1167,6 +1165,7 @@ colon(char *filename, int cmd, int nlines) case 'q': case 'Q': end_it(); + /*FALLTHROUGH*/ default: write(STDERR_FILENO, &bell, 1); return (-1); |