summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2015-11-23 09:26:51 +0000
committernicm <nicm@openbsd.org>2015-11-23 09:26:51 +0000
commit72a905c5a4b2ae29052502fbd9a4ae2f4b8ba8cc (patch)
treefddb59711dad0a0d0707e8ed04693f8fd80938b6
parentJust use the default CDIAGFLAGS rather than defining our own. (diff)
downloadwireguard-openbsd-72a905c5a4b2ae29052502fbd9a4ae2f4b8ba8cc.tar.xz
wireguard-openbsd-72a905c5a4b2ae29052502fbd9a4ae2f4b8ba8cc.zip
A couple more prototypes without arguments.
-rw-r--r--usr.bin/less/command.c2
-rw-r--r--usr.bin/less/option.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/less/command.c b/usr.bin/less/command.c
index 3494a291331..5d5589a69f1 100644
--- a/usr.bin/less/command.c
+++ b/usr.bin/less/command.c
@@ -69,7 +69,7 @@ struct ungot {
static struct ungot *ungot = NULL;
static int unget_end = 0;
-static void multi_search();
+static void multi_search(char *, int);
/*
* Move the cursor to start of prompt line before executing a command.
diff --git a/usr.bin/less/option.c b/usr.bin/less/option.c
index 11fb216580c..d779294a10c 100644
--- a/usr.bin/less/option.c
+++ b/usr.bin/less/option.c
@@ -24,8 +24,8 @@
static struct loption *pendopt;
int plusoption = FALSE;
-static char *optstring();
-static int flip_triple();
+static char *optstring(char *, char **, char *, char *);
+static int flip_triple(int, int);
extern int screen_trashed;
extern int less_is_more;