summaryrefslogtreecommitdiff
path: root/usr.bin/less
diff options
context:
space:
mode:
authormmcc <mmcc@cvs.openbsd.org>2016-01-12 23:01:24 +0000
committermmcc <mmcc@cvs.openbsd.org>2016-01-12 23:01:24 +0000
commite610fca0ff631fc9fb7e58ac76d4b5f94a47b7ee (patch)
tree6c7730beb10ed6ce321e0cfd2a7b82243113d9f1 /usr.bin/less
parentaf48f9b620501a0a7cabdf0624a93cf744aa3c45 (diff)
remove lint annotations
ok nicm@
Diffstat (limited to 'usr.bin/less')
-rw-r--r--usr.bin/less/edit.c1
-rw-r--r--usr.bin/less/main.c3
-rw-r--r--usr.bin/less/optfunc.c4
-rw-r--r--usr.bin/less/prompt.c1
-rw-r--r--usr.bin/less/signal.c3
5 files changed, 0 insertions, 12 deletions
diff --git a/usr.bin/less/edit.c b/usr.bin/less/edit.c
index 1da5d6de217..be10461aad5 100644
--- a/usr.bin/less/edit.c
+++ b/usr.bin/less/edit.c
@@ -699,7 +699,6 @@ loop:
return;
case 'q':
quit(QUIT_OK);
- /*NOTREACHED*/
default:
/*
* Eh?
diff --git a/usr.bin/less/main.c b/usr.bin/less/main.c
index 9b727519f46..c218dab2c30 100644
--- a/usr.bin/less/main.c
+++ b/usr.bin/less/main.c
@@ -270,7 +270,6 @@ main(int argc, char *argv[])
init();
commands();
quit(QUIT_OK);
- /*NOTREACHED*/
return (0);
}
@@ -288,7 +287,6 @@ ecalloc(int count, unsigned int size)
return (p);
error("Cannot allocate memory", NULL);
quit(QUIT_ERROR);
- /*NOTREACHED*/
return (NULL);
}
@@ -306,7 +304,6 @@ easprintf(const char *fmt, ...)
if (p == NULL || rv < 0) {
error("Cannot allocate memory", NULL);
quit(QUIT_ERROR);
- /*NOTREACHED*/
}
return (p);
}
diff --git a/usr.bin/less/optfunc.c b/usr.bin/less/optfunc.c
index b8e4e2c31ba..074d0028b7e 100644
--- a/usr.bin/less/optfunc.c
+++ b/usr.bin/less/optfunc.c
@@ -359,7 +359,6 @@ opt__P(int type, char *s)
/*
* Handler for the -b option.
*/
-/*ARGSUSED*/
void
opt_b(int type, char *s)
{
@@ -379,7 +378,6 @@ opt_b(int type, char *s)
/*
* Handler for the -i option.
*/
-/*ARGSUSED*/
void
opt_i(int type, char *s)
{
@@ -396,7 +394,6 @@ opt_i(int type, char *s)
/*
* Handler for the -V option.
*/
-/*ARGSUSED*/
void
opt__V(int type, char *s)
{
@@ -524,7 +521,6 @@ opt_quote(int type, char *s)
* "-?" means display a help message.
* If from the command line, exit immediately.
*/
-/*ARGSUSED*/
void
opt_query(int type, char *s)
{
diff --git a/usr.bin/less/prompt.c b/usr.bin/less/prompt.c
index 6204d75c7c1..50f112e97b3 100644
--- a/usr.bin/less/prompt.c
+++ b/usr.bin/less/prompt.c
@@ -417,7 +417,6 @@ skipcond(const char *p)
return (p-1);
}
}
- /*NOTREACHED*/
}
/*
diff --git a/usr.bin/less/signal.c b/usr.bin/less/signal.c
index 207cf844988..726484b7fad 100644
--- a/usr.bin/less/signal.c
+++ b/usr.bin/less/signal.c
@@ -35,7 +35,6 @@ extern long jump_sline_fraction;
/*
* Interrupt signal handler.
*/
-/* ARGSUSED */
static void
u_interrupt(int type)
{
@@ -45,7 +44,6 @@ u_interrupt(int type)
/*
* "Stop" (^Z) signal handler.
*/
-/* ARGSUSED */
static void
stop(int type)
{
@@ -55,7 +53,6 @@ stop(int type)
/*
* "Window" change handler
*/
-/* ARGSUSED */
void
sigwinch(int type)
{