summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2015-11-23 09:23:08 +0000
committernicm <nicm@openbsd.org>2015-11-23 09:23:08 +0000
commit4e5eb4f2325e24f0b6d06baf5e1dd1af71ae3b58 (patch)
treef26ccd75287ace0f5ae5ff954310f626f12b7aab
parent$OpenBSD$ (diff)
downloadwireguard-openbsd-4e5eb4f2325e24f0b6d06baf5e1dd1af71ae3b58.tar.xz
wireguard-openbsd-4e5eb4f2325e24f0b6d06baf5e1dd1af71ae3b58.zip
Fix function type arguments.
-rw-r--r--usr.bin/less/option.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/less/option.h b/usr.bin/less/option.h
index 18aaf71da3c..c54481ae914 100644
--- a/usr.bin/less/option.h
+++ b/usr.bin/less/option.h
@@ -60,6 +60,6 @@ struct loption {
int otype; /* Type of the option */
int odefault; /* Default value */
int *ovar; /* Pointer to the associated variable */
- void (*ofunc)(); /* Pointer to special handling function */
+ void (*ofunc)(int, char *); /* Pointer to special handling function */
char *odesc[3]; /* Description of each value */
};