summaryrefslogtreecommitdiff
path: root/usr.bin/mg/help.c
diff options
context:
space:
mode:
authorVincent Labrecque <vincent@cvs.openbsd.org>2002-03-11 13:02:57 +0000
committerVincent Labrecque <vincent@cvs.openbsd.org>2002-03-11 13:02:57 +0000
commit195cf29954aced38f2c3260a00e78b6c543347d7 (patch)
tree24960afa1083d432e589842ec187e8c39819c7ba /usr.bin/mg/help.c
parent3acf70e568831a61d560c056d28ea06bf89c72df (diff)
* Move to ANSI function definitions.
* Add a whole lot of consts where I thought it made sense no ok, but no objections either...
Diffstat (limited to 'usr.bin/mg/help.c')
-rw-r--r--usr.bin/mg/help.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/mg/help.c b/usr.bin/mg/help.c
index c5432fbfa63..65428d32f37 100644
--- a/usr.bin/mg/help.c
+++ b/usr.bin/mg/help.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: help.c,v 1.15 2001/11/25 07:34:17 deraadt Exp $ */
+/* $OpenBSD: help.c,v 1.16 2002/03/11 13:02:56 vincent Exp $ */
/*
* Help functions for Mg 2
@@ -83,7 +83,7 @@ nextmode:
found:
if (funct == rescan || funct == selfinsert)
ewprintf("%k is not bound to any function");
- else if ((pep = function_name(funct)) != NULL)
+ else if ((pep = (char *)function_name(funct)) != NULL)
ewprintf("%k runs the command %s", pep);
else
ewprintf("%k is bound to an unnamed function");